/** * @param string $confirmation * * @return string|false */ public static function validate($confirmation) { return parent::validateMethod($confirmation, 'yes', 'no'); }
/** * @param string $confirmation * * @return string|false */ public static function validate($confirmation) { return parent::validateMethod($confirmation, 'allow', 'deny'); }