Completed
Push — master ( b6b858...1b4436 )
by Matthew
09:46
created
Command/GenerateGridSourceCommand.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -75,11 +75,17 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.