1 | <?php |
||
5 | abstract class BaseNotification implements NotificationInterface |
||
6 | { |
||
7 | // @TODO: Currently in the interface |
||
8 | abstract function getNotifiable(); |
||
9 | |||
10 | abstract public function getChannels(); |
||
11 | |||
12 | abstract public function getNotificationArray(); |
||
13 | |||
14 | abstract public function setNotifiable(NotifiableInterface $notifiable); |
||
15 | |||
16 | // abstract public function toArray(NotifiableInterface $notifiable); |
||
17 | // |
||
18 | // abstract public function via(NotifiableInterface $notifiable); |
||
19 | // |
||
20 | // abstract public function toMail(NotifiableInterface $user); |
||
21 | } |
Adding explicit visibility (
private
,protected
, orpublic
) is generally recommend to communicate to other developers how, and from where this method is intended to be used.