Total Complexity | 3 |
Total Lines | 31 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
11 | abstract class AbstractImageEvent extends AbstractAppEvent |
||
12 | { |
||
13 | const NAME = 'user.defineMe'; |
||
14 | |||
15 | /** |
||
16 | * @var Image |
||
17 | */ |
||
18 | protected $entity; |
||
19 | |||
20 | /** |
||
21 | * @var Trick |
||
22 | */ |
||
23 | protected $trick; |
||
24 | |||
25 | public function __construct(Image $image, Trick $trick) |
||
26 | { |
||
27 | $this->entity = $image; |
||
28 | $this->trick = $trick; |
||
29 | } |
||
30 | |||
31 | /** |
||
32 | * @return Image |
||
33 | */ |
||
34 | public function getEntity(): AbstractAppEntity |
||
35 | { |
||
36 | return $this->entity; |
||
37 | } |
||
38 | |||
39 | public function getTrick(): Trick |
||
42 | } |
||
43 | } |