You are here

public function TestClassMetadataFactory::isTransient in Zircon Profile 8

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

Returns whether the class with the specified name should have its metadata loaded. This is only the case if it is either mapped directly or as a MappedSuperclass.

Parameters

string $className:

Return value

boolean

Overrides AbstractClassMetadataFactory::isTransient

File

vendor/doctrine/common/tests/Doctrine/Tests/Common/Persistence/Mapping/ClassMetadataFactoryTest.php, line 195

Class

TestClassMetadataFactory

Namespace

Doctrine\Tests\Common\Persistence\Mapping

Code

public function isTransient($class) {
  return true;
}