| 1 | <?php |
||
| 5 | class Field |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * Modifies the field value to match that of another field. |
||
| 9 | * |
||
| 10 | * @param object $subject The subject to be filtered. |
||
| 11 | * @param string $field The subject field name. |
||
| 12 | * @param string $other_field The name of the other subject field. |
||
| 13 | * |
||
| 14 | * @return bool True if the value was sanitized, false if not. |
||
| 15 | */ |
||
| 16 | 18 | public function __invoke($subject, $field, $other_field): bool |
|
| 26 | } |
||
| 27 |