Total Complexity | 4 |
Total Lines | 33 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
9 | class CurrentPassword implements Rule |
||
|
|||
10 | { |
||
11 | /** |
||
12 | * Create a new rule instance. |
||
13 | * |
||
14 | * @return void |
||
15 | */ |
||
16 | public function __construct() |
||
18 | // |
||
19 | } |
||
20 | |||
21 | /** |
||
22 | * Determine if the validation rule passes. |
||
23 | * |
||
24 | * @param string $attribute |
||
25 | * @param mixed $value |
||
26 | * @return bool |
||
27 | */ |
||
28 | public function passes($attribute, $value) |
||
32 | } |
||
33 | |||
34 | /** |
||
35 | * Get the validation error message. |
||
36 | * |
||
37 | * @return string |
||
38 | */ |
||
39 | public function message() |
||
44 |
This interface has been deprecated. The supplier of the interface has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the interface will be removed and what other interface to use instead.