| 1 | <?php |
||
| 8 | class ListViewModel extends ViewModel implements ListViewModelInterface |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var ArrayObject |
||
| 12 | */ |
||
| 13 | private $collection; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @var array |
||
| 17 | */ |
||
| 18 | private $errors; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @var array |
||
| 22 | */ |
||
| 23 | private $filter; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @return ArrayObject |
||
| 27 | */ |
||
| 28 | public function getCollection() |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @param ArrayObject $collection |
||
| 35 | */ |
||
| 36 | public function setCollection(ArrayObject $collection) |
||
| 40 | |||
| 41 | /** |
||
| 42 | * @return array |
||
| 43 | */ |
||
| 44 | public function getErrors() |
||
| 48 | |||
| 49 | /** |
||
| 50 | * @param array $errors |
||
| 51 | */ |
||
| 52 | public function setErrors(array $errors) |
||
| 56 | |||
| 57 | /** |
||
| 58 | * @return array |
||
| 59 | */ |
||
| 60 | public function getInputData() |
||
| 64 | |||
| 65 | /** |
||
| 66 | * @param array $filter |
||
| 67 | */ |
||
| 68 | public function setInputData(array $filter) |
||
| 72 | } |
||
| 73 |