marcelioleal / automatic

Code Generator in PHP using Zend Framework 2, Doctrine 2, HTML 5 and a beautiful architecture.
7 stars 0 forks source link

Class MapperFactory generated with error #41

Open rmauro opened 13 years ago

rmauro commented 13 years ago

Generating functions with following error: public static function content(){ return new Content(self::entityManager(), self::entityManager()->getClassMetadata('Content')); } The parameter of getClassMetadafa function is generated without namespace, the correct is: public static function content(){ return new Content(self::entityManager(), self::entityManager()->getClassMetadata('Entities\Content')); }