Total Complexity | 6 |
Total Lines | 63 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
28 | class EntityLogNotification extends EntityNotification implements |
||
29 | LogNotification, |
||
30 | Creatable, |
||
31 | Editable, |
||
32 | Viewable, |
||
33 | Activable |
||
34 | { |
||
35 | /** |
||
36 | * @var string |
||
37 | */ |
||
38 | protected $message; |
||
39 | |||
40 | /** |
||
41 | * @var string |
||
42 | */ |
||
43 | protected $level; |
||
44 | |||
45 | /** |
||
46 | * @return string |
||
47 | */ |
||
48 | public function getMessage(): string |
||
49 | { |
||
50 | return $this->message; |
||
51 | } |
||
52 | |||
53 | /** |
||
54 | * @param string $message |
||
55 | */ |
||
56 | public function setMessage(string $message) |
||
57 | { |
||
58 | $this->message = $message; |
||
59 | } |
||
60 | |||
61 | /** |
||
62 | * @return string |
||
63 | */ |
||
64 | public function getLevel(): string |
||
65 | { |
||
66 | return $this->level; |
||
67 | } |
||
68 | |||
69 | /** |
||
70 | * @param string $level |
||
71 | */ |
||
72 | public function setLevel(string $level) |
||
73 | { |
||
74 | $this->level = $level; |
||
75 | } |
||
76 | |||
77 | /** |
||
78 | * @return string |
||
79 | */ |
||
80 | public static function getProcessorClassName(): string |
||
81 | { |
||
82 | return EntityLogNotificationProcessor::class; |
||
83 | } |
||
84 | |||
85 | /** |
||
86 | * @return string |
||
87 | */ |
||
88 | public static function getDefinitionIdentifier(): string |
||
91 | } |
||
92 | } |
||
93 |