| Total Complexity | 2 |
| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 16 | class LifecycleEventArgs extends BaseLifecycleEventArgs |
||
| 17 | { |
||
| 18 | /** |
||
| 19 | * Retrieves associated Entity. |
||
| 20 | * |
||
| 21 | * @return object |
||
| 22 | */ |
||
| 23 | public function getEntity() |
||
| 24 | { |
||
| 25 | return $this->getObject(); |
||
| 26 | } |
||
| 27 | |||
| 28 | /** |
||
| 29 | * Retrieves associated EntityManager. |
||
| 30 | * |
||
| 31 | * @return EntityManagerInterface |
||
| 32 | */ |
||
| 33 | public function getEntityManager() |
||
| 36 | } |
||
| 37 | } |
||
| 38 |