Public Member Functions | |
| __construct ($provinciaId) | |
| validate (string $attribute, mixed $value, Closure $fail) | |
Protected Attributes | |
| $provinciaId | |
| App\Rules\validCodigoPostal::__construct | ( | $provinciaId | ) |
Constructor.
| string | $provinciaId | ID de la provincia. |
| App\Rules\validCodigoPostal::validate | ( | string | $attribute, |
| mixed | $value, | ||
| Closure | $fail ) |
Run the validation rule.
| string | $attribute | |
| mixed | $value | |
| \Closure | $fail |
|
protected |