| 1 | <?php |
||
| 14 | class NotificationSentEvent extends Event |
||
| 15 | { |
||
| 16 | const NAME = 'notification.sent'; |
||
| 17 | /** @var NotifiableInterface */ |
||
| 18 | public $notifiable; |
||
| 19 | /** @var NotificationInterface */ |
||
| 20 | public $notification; |
||
| 21 | /** @var boolean */ |
||
| 22 | public $response; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * NotificationSent constructor. |
||
| 26 | * |
||
| 27 | * @param NotificationInterface $notification |
||
| 28 | * @param null $response |
||
| 29 | */ |
||
| 30 | public function __construct(NotificationInterface $notification, $response = null) |
||
| 35 | |||
| 36 | public function getNotifiable() |
||
| 40 | |||
| 41 | public function getNotification() |
||
| 45 | |||
| 46 | public function getResponse() |
||
| 50 | } |
||
| 51 |