You are here

protected function TestClassMetadataFactory::newClassMetadataInstance in Plug 7

Creates a new ClassMetadata instance for the given class name.

Parameters

string $className:

Return value

ClassMetadata

Overrides AbstractClassMetadataFactory::newClassMetadataInstance

File

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