1 | <?php |
||
16 | class NotificationManager |
||
17 | { |
||
18 | /** |
||
19 | * @var ChannelManager |
||
20 | */ |
||
21 | private $channelManager; |
||
22 | /** |
||
23 | * @var DatabaseNotificationManager |
||
24 | */ |
||
25 | private $databaseNotificationManager; |
||
26 | |||
27 | public function __construct(ChannelManager $channelManager) |
||
31 | |||
32 | public function broadcast(NotificationInterface $notificatin, array $broadcasters = null) { |
||
35 | |||
36 | public function send(NotificationInterface $notification, $recipients) |
||
44 | |||
45 | public function markAsRead(NotificationInterface $notification) |
||
56 | |||
57 | public function markAllAsRead(NotifiableInterface $user) |
||
68 | |||
69 | public function allNotificationCount(NotifiableInterface $user) |
||
73 | |||
74 | public function unreadNotificationCount(NotifiableInterface $user) |
||
78 | |||
79 | public function readNotificationCount(NotifiableInterface $user) |
||
83 | |||
84 | public function notificationCount(NotifiableInterface $user, $status = '') |
||
93 | |||
94 | public function setDatabaseNotificationManager(DatabaseNotificationManager $databaseNotificationManager) |
||
98 | } |
||
99 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.