You are here

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

TestClassMetadataFactory

Namespace

Doctrine\Tests\Common\Persistence\Mapping

Code

protected function isEntity(ClassMetadata $class) {
  return true;
}