Total Complexity | 2 |
Total Lines | 20 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
9 | abstract class AbstractCommentEvent extends AbstractAppEvent |
||
10 | { |
||
11 | const NAME = 'user.defineMe'; |
||
12 | |||
13 | /** |
||
14 | * @var Comment |
||
15 | */ |
||
16 | protected $entity; |
||
17 | |||
18 | public function __construct(Comment $comment) |
||
19 | { |
||
20 | $this->entity = $comment; |
||
21 | } |
||
22 | |||
23 | /** |
||
24 | * @return Comment |
||
25 | */ |
||
26 | public function getEntity(): AbstractAppEntity |
||
29 | } |
||
30 | } |