protected function TestClassMetadataFactory::isEntity

Checks whether the class metadata is an entity.

This method should false for mapped superclasses or embedded classes.

Parameters

ClassMetadata $class:

Return value

boolean

Overrides AbstractClassMetadataFactory::isEntity

File

drupal/core/vendor/doctrine/common/tests/Doctrine/Tests/Common/Persistence/Mapping/ClassMetadataFactoryTest.php, line 125

Class

TestClassMetadataFactory

Namespace

Doctrine\Tests\Common\Persistence\Mapping

Code

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