Total Complexity | 3 |
Total Lines | 20 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
8 | class GuidAwareListener |
||
9 | { |
||
10 | /** |
||
11 | * @var ContainerInterface |
||
12 | */ |
||
13 | private $container; |
||
14 | |||
15 | /** |
||
16 | * GuidAwareListener constructor. |
||
17 | * @param ContainerInterface $container |
||
18 | */ |
||
19 | public function __construct(ContainerInterface $container) |
||
20 | { |
||
21 | $this->container = $container; |
||
22 | } |
||
23 | |||
24 | public function prePersist($entity) |
||
28 | } |
||
29 | } |
||
31 |