| 1 | <?php |
||
| 9 | class VatCalculatorValidatorExtension extends Validator |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * Creates a new instance of ValidatorExtension. |
||
| 13 | */ |
||
| 14 | public function __construct($translator, $data, $rules, $messages, array $customAttributes = []) |
||
| 24 | |||
| 25 | /** |
||
| 26 | * Usage: vat_number. |
||
| 27 | * |
||
| 28 | * @param string $attribute |
||
| 29 | * @param mixed $value |
||
| 30 | * @param array $parameters |
||
| 31 | * |
||
| 32 | * @return bool |
||
| 33 | */ |
||
| 34 | public function validateVatNumber($attribute, $value, $parameters) |
||
| 42 | } |
||
| 43 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.