abstract protected function AbstractClassMetadataFactory::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

1 call to AbstractClassMetadataFactory::isEntity()
AbstractClassMetadataFactory::loadMetadata in drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/AbstractClassMetadataFactory.php
Loads the metadata of the class in question and all it's ancestors whose metadata is still not loaded.
1 method overrides AbstractClassMetadataFactory::isEntity()
TestClassMetadataFactory::isEntity in drupal/core/vendor/doctrine/common/tests/Doctrine/Tests/Common/Persistence/Mapping/ClassMetadataFactoryTest.php
Checks whether the class metadata is an entity.

File

drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/AbstractClassMetadataFactory.php, line 169

Class

AbstractClassMetadataFactory
The ClassMetadataFactory is used to create ClassMetadata objects that contain all the metadata mapping informations of a class which describes how a class should be mapped to a relational database.

Namespace

Doctrine\Common\Persistence\Mapping

Code

protected abstract function isEntity(ClassMetadata $class);