You are here

protected function TestClassMetadataFactory::newClassMetadataInstance 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::newClassMetadataInstance()

Creates a new ClassMetadata instance for the given class name.

Parameters

string $className:

Return value

ClassMetadata

Overrides AbstractClassMetadataFactory::newClassMetadataInstance

File

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

Class

TestClassMetadataFactory

Namespace

Doctrine\Tests\Common\Persistence\Mapping

Code

protected function newClassMetadataInstance($className) {
  return $this->metadata;
}