| 1 | <?php |
||
| 10 | class FilterNotificationsHandler |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var NotificationRepository |
||
| 14 | */ |
||
| 15 | private $notificationRepository; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @var NotificationDataTransformer |
||
| 19 | */ |
||
| 20 | private $notificationDataTransformer; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @param NotificationRepository $notificationRepository |
||
| 24 | * @param NotificationDataTransformer $notificationDataTransformer |
||
| 25 | */ |
||
| 26 | 1 | public function __construct( |
|
| 33 | |||
| 34 | /** |
||
| 35 | * @param FilterNotifications $query |
||
| 36 | * @return array |
||
| 37 | */ |
||
| 38 | 1 | public function handle(FilterNotifications $query): array |
|
| 52 | } |
||
| 53 |