1 | <?php |
||
18 | class Alnum |
||
19 | { |
||
20 | /** |
||
21 | * |
||
22 | * Strips non-alphanumeric characters from the value. |
||
23 | * |
||
24 | * @param object $subject The subject to be filtered. |
||
25 | * |
||
26 | * @param string $field The subject field name. |
||
27 | * |
||
28 | * @return bool Always true. |
||
29 | * |
||
30 | */ |
||
31 | 2 | public function __invoke($subject, $field) |
|
36 | } |
||
37 |