You are here

protected function TestClassMetadataFactory::isEntity in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/doctrine/common/tests/Doctrine/Tests/Common/Persistence/Mapping/ClassMetadataFactoryTest.php \Doctrine\Tests\Common\Persistence\Mapping\TestClassMetadataFactory::isEntity()

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

vendor/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;
}