PHP 클래스 Doctrine\ODM\CouchDB\Mapping\ClassMetadataFactory

부터: 1.0
저자: Benjamin Eberlei ([email protected])
저자: Lukas Kahwe Smith ([email protected])
상속: extends Doctrine\Common\Persistence\Mapping\AbstractClassMetadataFactory
파일 보기 프로젝트 열기: doctrine/couchdb-odm 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( DocumentManager $dm ) Creates a new factory instance that uses the given DocumentManager instance.
getAllMetadata ( ) : array Forces the factory to load the metadata of all classes known to the underlying mapping driver.
getMetadataFor ( string $className ) : ClassMetadata Gets the class metadata descriptor for a class.

보호된 메소드들

메소드 설명
doLoadMetadata ( $class, $parent, $rootEntityFound, array $nonSuperclassParents )
getDriver ( )
getFqcnFromAlias ( $namespaceAlias, $simpleClassName )
initialize ( )
initializeReflection ( Doctrine\Common\Persistence\Mapping\ClassMetadata $class, Doctrine\Common\Persistence\Mapping\ReflectionService $reflService )
isEntity ( Doctrine\Common\Persistence\Mapping\ClassMetadata $class ) {@inheritDoc}
loadMetadata ( string $className ) : array Loads the metadata of the class in question and all it's ancestors whose metadata is still not loaded.
newClassMetadataInstance ( string $className ) : ClassMetadata Creates a new ClassMetadata instance for the given class name.
wakeupReflection ( Doctrine\Common\Persistence\Mapping\ClassMetadata $class, Doctrine\Common\Persistence\Mapping\ReflectionService $reflService )

비공개 메소드들

메소드 설명
addAssociationsMapping ( Doctrine\Common\Persistence\Mapping\ClassMetadata $class, Doctrine\Common\Persistence\Mapping\ClassMetadata $parent )
addFieldMapping ( Doctrine\Common\Persistence\Mapping\ClassMetadata $class, Doctrine\Common\Persistence\Mapping\ClassMetadata $parent )
addIndexes ( ClassMetadata $class, ClassMetadata $parent )
validateMapping ( Doctrine\Common\Persistence\Mapping\ClassMetadata $class ) Check for any possible shortcomings in the class:

메소드 상세

__construct() 공개 메소드

Creates a new factory instance that uses the given DocumentManager instance.
public __construct ( DocumentManager $dm )
$dm Doctrine\ODM\CouchDB\DocumentManager The DocumentManager instance

doLoadMetadata() 보호된 메소드

protected doLoadMetadata ( $class, $parent, $rootEntityFound, array $nonSuperclassParents )
$nonSuperclassParents array

getAllMetadata() 공개 메소드

Forces the factory to load the metadata of all classes known to the underlying mapping driver.
public getAllMetadata ( ) : array
리턴 array The ClassMetadata instances of all mapped classes.

getDriver() 보호된 메소드

protected getDriver ( )

getFqcnFromAlias() 보호된 메소드

protected getFqcnFromAlias ( $namespaceAlias, $simpleClassName )

getMetadataFor() 공개 메소드

Gets the class metadata descriptor for a class.
public getMetadataFor ( string $className ) : ClassMetadata
$className string The name of the class.
리턴 ClassMetadata

initialize() 보호된 메소드

protected initialize ( )

initializeReflection() 보호된 메소드

protected initializeReflection ( Doctrine\Common\Persistence\Mapping\ClassMetadata $class, Doctrine\Common\Persistence\Mapping\ReflectionService $reflService )
$class Doctrine\Common\Persistence\Mapping\ClassMetadata
$reflService Doctrine\Common\Persistence\Mapping\ReflectionService

isEntity() 보호된 메소드

{@inheritDoc}
protected isEntity ( Doctrine\Common\Persistence\Mapping\ClassMetadata $class )
$class Doctrine\Common\Persistence\Mapping\ClassMetadata

loadMetadata() 보호된 메소드

Loads the metadata of the class in question and all it's ancestors whose metadata is still not loaded.
protected loadMetadata ( string $className ) : array
$className string The name of the class for which the metadata should get loaded.
리턴 array

newClassMetadataInstance() 보호된 메소드

Creates a new ClassMetadata instance for the given class name.
protected newClassMetadataInstance ( string $className ) : ClassMetadata
$className string
리턴 ClassMetadata

wakeupReflection() 보호된 메소드

protected wakeupReflection ( Doctrine\Common\Persistence\Mapping\ClassMetadata $class, Doctrine\Common\Persistence\Mapping\ReflectionService $reflService )
$class Doctrine\Common\Persistence\Mapping\ClassMetadata
$reflService Doctrine\Common\Persistence\Mapping\ReflectionService