1 | <?php |
||
18 | class Integer |
||
19 | { |
||
20 | /** |
||
21 | * |
||
22 | * Validates that the value represents an integer. |
||
23 | * |
||
24 | * @param object $subject The subject to be filtered. |
||
25 | * |
||
26 | * @param string $field The subject field name. |
||
27 | * |
||
28 | * @return bool True if valid, false if not. |
||
29 | * |
||
30 | */ |
||
31 | 11 | public function __invoke($subject, $field) |
|
42 | } |
||
43 |