@@ -75,11 +75,17 @@ |
||
| 75 | 75 | return array(substr($entity, 0, $pos), substr($entity, $pos + 1)); |
| 76 | 76 | } |
| 77 | 77 | |
| 78 | + /** |
|
| 79 | + * @param string $entity |
|
| 80 | + */ |
|
| 78 | 81 | protected function getEntityMetadata($entity) |
| 79 | 82 | { |
| 80 | 83 | return $this->getContainer()->get('doctrine.orm.default_entity_manager')->getClassMetadata($entity); |
| 81 | 84 | } |
| 82 | 85 | |
| 86 | + /** |
|
| 87 | + * @param string $document |
|
| 88 | + */ |
|
| 83 | 89 | protected function getDocumentMetadata($document) |
| 84 | 90 | { |
| 85 | 91 | return $this->getContainer()->get('doctrine_mongodb.odm.default_document_manager')->getClassMetadata($document); |