1 | <?php |
||
20 | class Word |
||
21 | { |
||
22 | /** |
||
23 | * |
||
24 | * Strips non-word characters within the value (letters, numbers, and |
||
25 | * underscores). |
||
26 | * |
||
27 | * @param object $subject The subject to be filtered. |
||
28 | * |
||
29 | * @param string $field The subject field name. |
||
30 | * |
||
31 | * @return bool True if the value was sanitized, false if not. |
||
32 | * |
||
33 | */ |
||
34 | 3 | public function __invoke($subject, $field) |
|
43 | } |
||
44 |