protected function TestClassMetadataFactory::isEntity in Plug 7
Checks whether the class metadata is an entity.
This method should return false for mapped superclasses or embedded classes.
Parameters
ClassMetadata $class:
Return value
boolean
Overrides AbstractClassMetadataFactory::isEntity
File
- lib/
doctrine/ common/ tests/ Doctrine/ Tests/ Common/ Persistence/ Mapping/ ClassMetadataFactoryTest.php, line 181
Class
Namespace
Doctrine\Tests\Common\Persistence\MappingCode
protected function isEntity(ClassMetadata $class) {
return true;
}