Total Complexity | 3 |
Total Lines | 53 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
8 | class TCKimlikNoValidate implements Rule |
||
9 | { |
||
10 | /** @var string */ |
||
11 | protected $name; |
||
12 | |||
13 | /** @var string */ |
||
14 | protected $surname; |
||
15 | |||
16 | /** @var string */ |
||
17 | protected $birthYear; |
||
18 | |||
19 | /** @var bool */ |
||
20 | protected $autoUppercase; |
||
21 | |||
22 | public function __construct( |
||
32 | } |
||
33 | |||
34 | /** |
||
35 | * Determine if the validation rule passes. |
||
36 | * |
||
37 | * @param string $attribute |
||
38 | * @param mixed $value |
||
39 | * @return bool |
||
40 | * @throws \SoapFault |
||
41 | */ |
||
42 | public function passes($attribute, $value) |
||
50 | ); |
||
51 | } |
||
52 | |||
53 | /** |
||
54 | * Get the validation error message. |
||
55 | * |
||
56 | * @return string |
||
57 | */ |
||
58 | public function message() |
||
61 | } |
||
62 | } |