| 1 | <?php |
||
| 12 | class ResultListEvent extends Event |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * @var ParamFetcherInterface |
||
| 16 | */ |
||
| 17 | private $paramFetcher; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @var RestPaginator |
||
| 21 | */ |
||
| 22 | private $result; |
||
| 23 | |||
| 24 | 4 | public function __construct(ParamFetcherInterface $paramFetcher, RestPaginator $result) |
|
| 29 | |||
| 30 | /** |
||
| 31 | * @return ParamFetcherInterface |
||
| 32 | */ |
||
| 33 | 1 | public function getParamFetcher() |
|
| 37 | |||
| 38 | /** |
||
| 39 | * @return RestPaginator |
||
| 40 | */ |
||
| 41 | 2 | public function getResult() |
|
| 45 | |||
| 46 | /** |
||
| 47 | * @param RestPaginator $result |
||
| 48 | * |
||
| 49 | * @return $this |
||
| 50 | */ |
||
| 51 | 1 | public function setResult(RestPaginator $result) |
|
| 55 | } |
||
| 56 |