| 1 | <?php |
||
| 8 | trait MetadataTrait |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var EntityManagerInterface |
||
| 12 | */ |
||
| 13 | protected $entityManager; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * Return the Doctrine metadata of the given class. |
||
| 17 | * |
||
| 18 | * @param $class |
||
| 19 | * |
||
| 20 | * @return \Doctrine\Common\Persistence\Mapping\ClassMetadata|null |
||
| 21 | */ |
||
| 22 | protected function findMetadata($class) |
||
| 34 | } |
||
| 35 |