1 | <?php |
||
11 | class DoctrineObjectManager implements ObjectManagerInterface |
||
12 | { |
||
13 | /** |
||
14 | * @var ObjectManager |
||
15 | */ |
||
16 | private $objectManager; |
||
17 | |||
18 | /** |
||
19 | * DoctrineObjectManager constructor. |
||
20 | * @param ObjectManager $objectManager |
||
21 | */ |
||
22 | public function __construct(ObjectManager $objectManager) |
||
26 | |||
27 | /** |
||
28 | * @param object $resource |
||
29 | * @return mixed |
||
30 | */ |
||
31 | public function getIdentifierName($resource) |
||
37 | |||
38 | /** |
||
39 | * @param object $resource |
||
40 | * @return mixed |
||
41 | */ |
||
42 | public function getIdentifier($resource) |
||
57 | |||
58 | /** |
||
59 | * @param string $className |
||
60 | * @return \Doctrine\Common\Persistence\ObjectRepository |
||
61 | */ |
||
62 | public function getRepository($className) |
||
66 | |||
67 | /** |
||
68 | * @param string $className |
||
69 | * @return \Doctrine\Common\Persistence\Mapping\ClassMetadata |
||
70 | */ |
||
71 | public function getClassMetadata($className) |
||
75 | } |
||
76 |