| 1 | <?php |
||
| 16 | final class FilterResponse |
||
| 17 | { |
||
| 18 | /** |
||
| 19 | * @var array |
||
| 20 | */ |
||
| 21 | private $response; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @param array $filteredValue The input values after being filtered. |
||
| 25 | * @param array $errors Any errors encountered during the filter process. |
||
| 26 | * @param array $unknowns The values that were unknown during filtering. |
||
| 27 | */ |
||
| 28 | public function __construct( |
||
| 42 | |||
| 43 | public function __get($name) |
||
| 47 | |||
| 48 | public function __set($name, $value) |
||
| 52 | |||
| 53 | /** |
||
| 54 | * Converts the response to an array. |
||
| 55 | * |
||
| 56 | * @return array |
||
| 57 | */ |
||
| 58 | public function toArray() : array |
||
| 69 | } |
||
| 70 |