| 1 | <?php |
||
| 8 | trait ManagerRegistryAwareTrait |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var ManagerRegistry|null $managerRegistry |
||
| 12 | */ |
||
| 13 | protected $managerRegistry; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @param ManagerRegistry|null $managerRegistry |
||
| 17 | */ |
||
| 18 | 2 | public function setManagerRegistry(?ManagerRegistry $managerRegistry) |
|
| 22 | |||
| 23 | /** |
||
| 24 | * @return void |
||
| 25 | */ |
||
| 26 | public function flush(): void |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @return void |
||
| 42 | */ |
||
| 43 | public function clear(): void |
||
| 49 | |||
| 50 | /** |
||
| 51 | * @return bool |
||
| 52 | */ |
||
| 53 | protected function hasEntityManager(): bool |
||
| 57 | } |
||
| 58 |