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'));
}
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')); }