Total Complexity | 4 |
Total Lines | 37 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | class NotificationEvent extends Event |
||
8 | { |
||
9 | /** |
||
10 | * @var string |
||
11 | */ |
||
12 | private $title; |
||
13 | |||
14 | /** |
||
15 | * @var string |
||
16 | */ |
||
17 | private $content; |
||
18 | |||
19 | /** |
||
20 | * @var string |
||
21 | */ |
||
22 | private $ownerId; |
||
23 | |||
24 | public function __construct(string $title, string $content, string $ownerId = null) |
||
29 | } |
||
30 | |||
31 | public function getTitle(): string |
||
32 | { |
||
33 | return $this->title; |
||
34 | } |
||
35 | |||
36 | public function getContent(): string |
||
37 | { |
||
38 | return $this->content; |
||
39 | } |
||
40 | |||
41 | public function getOwnerId(): string |
||
44 | } |
||
45 | } |
||
46 |