1 | <?php |
||
10 | class NotificationOptions |
||
11 | { |
||
12 | /** |
||
13 | * @var Model |
||
14 | */ |
||
15 | private $model; |
||
16 | |||
17 | /** |
||
18 | * @var string |
||
19 | */ |
||
20 | private $name; |
||
21 | |||
22 | public function setModel(Model $model) |
||
27 | |||
28 | public function setName(string $notificationName) |
||
33 | |||
34 | /** |
||
35 | * @param bool $value |
||
36 | * @return Builder|Model|object|null |
||
37 | * @throws NotificationNotFoundException |
||
38 | */ |
||
39 | public function setNotification(bool $value) |
||
50 | |||
51 | public function makeLink(Model $model, NotificationOption $notificationOption) |
||
61 | |||
62 | protected function notificationQuery() |
||
71 | } |
||
72 |