| Total Complexity | 3 |
| Total Lines | 44 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | abstract class AbstractEntityEvent extends NamedEvent |
||
| 15 | {
|
||
| 16 | /** |
||
| 17 | * @var string |
||
| 18 | */ |
||
| 19 | private $entityName; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @var EntityManagerInterface |
||
| 23 | */ |
||
| 24 | private $entityManager; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @param string $eventName |
||
| 28 | * @param string $entityName |
||
| 29 | * @param EntityManagerInterface $entityManager |
||
| 30 | * @param array $params |
||
| 31 | */ |
||
| 32 | public function __construct( |
||
| 42 | } |
||
| 43 | |||
| 44 | /** |
||
| 45 | * @return string |
||
| 46 | */ |
||
| 47 | public function getEntityName(): string |
||
| 50 | } |
||
| 51 | |||
| 52 | /** |
||
| 53 | * @return EntityManagerInterface |
||
| 54 | */ |
||
| 55 | public function getEntityManager(): EntityManagerInterface |
||
| 60 |