1 | <?php |
||
8 | class CountryCode implements Rule |
||
9 | { |
||
10 | /** @var bool */ |
||
11 | protected $required; |
||
12 | |||
13 | /** @var string */ |
||
14 | protected $attribute; |
||
15 | |||
16 | 24 | public function __construct(bool $required = true) |
|
20 | |||
21 | 6 | public function nullable(): self |
|
27 | |||
28 | 24 | public function passes($attribute, $value): bool |
|
40 | |||
41 | 12 | public function message(): string |
|
47 | } |
||
48 |
This function has been deprecated. The supplier of the file has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the function will be removed from the class and what other function to use instead.