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

부터: 1.0
상속: extends Doctrine\Common\Persistence\Mapping\AbstractClassMetadataFactory
파일 보기 프로젝트 열기: doctrine/mongodb-odm 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$cacheSalt

공개 메소드들

메소드 설명
setConfiguration ( Configuration $config ) Sets the Configuration instance
setDocumentManager ( DocumentManager $dm ) Sets the DocumentManager instance for this class.

보호된 메소드들

메소드 설명
doLoadMetadata ( $class, $parent, $rootEntityFound, array $nonSuperclassParents = [] ) {@inheritDoc}
getDriver ( ) {@inheritDoc}
getFqcnFromAlias ( $namespaceAlias, $simpleClassName ) {@inheritDoc}
initialize ( ) Lazy initialization of this stuff, especially the metadata driver, since these are not needed at all when a metadata cache is active.
initializeReflection ( Doctrine\Common\Persistence\Mapping\ClassMetadata $class, Doctrine\Common\Persistence\Mapping\ReflectionService $reflService ) {@inheritDoc}
isEntity ( Doctrine\Common\Persistence\Mapping\ClassMetadata $class ) {@inheritDoc}
newClassMetadataInstance ( string $className ) : ClassMetadata Creates a new ClassMetadata instance for the given class name.
validateIdentifier ( ClassMetadata $class ) Validates the identifier mapping.
wakeupReflection ( Doctrine\Common\Persistence\Mapping\ClassMetadata $class, Doctrine\Common\Persistence\Mapping\ReflectionService $reflService ) {@inheritDoc}

비공개 메소드들

메소드 설명
addInheritedFields ( ClassMetadata $subClass, ClassMetadata $parentClass ) Adds inherited fields to the subclass mapping.
addInheritedIndexes ( ClassMetadata $subClass, ClassMetadata $parentClass ) Adds inherited indexes to the subclass mapping.
addInheritedRelations ( ClassMetadata $subClass, ClassMetadata $parentClass ) : void Adds inherited association mappings to the subclass mapping.
completeIdGeneratorMapping ( ClassMetadataInfo $class )
setInheritedShardKey ( ClassMetadata $subClass, ClassMetadata $parentClass ) Adds inherited shard key to the subclass mapping.

메소드 상세

doLoadMetadata() 보호된 메소드

{@inheritDoc}
protected doLoadMetadata ( $class, $parent, $rootEntityFound, array $nonSuperclassParents = [] )
$nonSuperclassParents array

getDriver() 보호된 메소드

{@inheritDoc}
protected getDriver ( )

getFqcnFromAlias() 보호된 메소드

{@inheritDoc}
protected getFqcnFromAlias ( $namespaceAlias, $simpleClassName )

initialize() 보호된 메소드

Lazy initialization of this stuff, especially the metadata driver, since these are not needed at all when a metadata cache is active.
protected initialize ( )

initializeReflection() 보호된 메소드

{@inheritDoc}
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

newClassMetadataInstance() 보호된 메소드

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

setConfiguration() 공개 메소드

Sets the Configuration instance
public setConfiguration ( Configuration $config )
$config Doctrine\ODM\MongoDB\Configuration

setDocumentManager() 공개 메소드

Sets the DocumentManager instance for this class.
public setDocumentManager ( DocumentManager $dm )
$dm Doctrine\ODM\MongoDB\DocumentManager The DocumentManager instance

validateIdentifier() 보호된 메소드

Validates the identifier mapping.
protected validateIdentifier ( ClassMetadata $class )
$class ClassMetadata

wakeupReflection() 보호된 메소드

{@inheritDoc}
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

프로퍼티 상세

$cacheSalt 보호되어 있는 프로퍼티

protected $cacheSalt