You are here

abstract protected function AbstractClassMetadataFactory::newClassMetadataInstance in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/AbstractClassMetadataFactory.php \Doctrine\Common\Persistence\Mapping\AbstractClassMetadataFactory::newClassMetadataInstance()

Creates a new ClassMetadata instance for the given class name.

Parameters

string $className:

Return value

ClassMetadata

1 call to AbstractClassMetadataFactory::newClassMetadataInstance()
AbstractClassMetadataFactory::loadMetadata in vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/AbstractClassMetadataFactory.php
Loads the metadata of the class in question and all it's ancestors whose metadata is still not loaded.
1 method overrides AbstractClassMetadataFactory::newClassMetadataInstance()
TestClassMetadataFactory::newClassMetadataInstance in vendor/doctrine/common/tests/Doctrine/Tests/Common/Persistence/Mapping/ClassMetadataFactoryTest.php
Creates a new ClassMetadata instance for the given class name.

File

vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/AbstractClassMetadataFactory.php, line 385

Class

AbstractClassMetadataFactory
The ClassMetadataFactory is used to create ClassMetadata objects that contain all the metadata mapping informations of a class which describes how a class should be mapped to a relational database.

Namespace

Doctrine\Common\Persistence\Mapping

Code

protected abstract function newClassMetadataInstance($className);