You are here

public function TestClassMetadataFactory::isTransient in Plug 7

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

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