Total Complexity | 5 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
18 | class PersistOperation implements OperationInterface |
||
19 | { |
||
20 | public const NAME = 'persist'; |
||
21 | |||
22 | /** |
||
23 | * @var EntityManagerInterface |
||
24 | */ |
||
25 | private $entityManager; |
||
26 | |||
27 | 4 | public function __construct(EntityManagerInterface $entityManager) |
|
30 | 4 | } |
|
31 | |||
32 | 1 | public function execute(object $object): void |
|
35 | 1 | } |
|
36 | |||
37 | 1 | public function getName(): string |
|
38 | { |
||
39 | 1 | return self::NAME; |
|
40 | } |
||
41 | |||
42 | 1 | public function getPreEventName(): string |
|
45 | } |
||
46 | |||
47 | 1 | public function getPostEventName(): string |
|
50 | } |
||
51 | } |
||
52 |