protected function TestClassMetadataFactory::newClassMetadataInstance

Creates a new ClassMetadata instance for the given class name.

Parameters

string $className:

Return value

ClassMetadata

Overrides AbstractClassMetadataFactory::newClassMetadataInstance

File

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

Class

TestClassMetadataFactory

Namespace

Doctrine\Tests\Common\Persistence\Mapping

Code

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