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

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

보호된 프로퍼티들

프로퍼티 타입 설명
$cacheSalt

공개 메소드들

메소드 설명
__construct ( Doctrine\ODM\PHPCR\DocumentManagerInterface $dm ) Creates a new factory instance that uses the given DocumentManager instance.
getMetadataFor ( $className )
loadMetadata ( $className )

보호된 메소드들

메소드 설명
doLoadMetadata ( ClassMetadata $class, ClassMetadata | null $parent, boolean $rootEntityFound, array $nonSuperclassParents ) Actually loads PHPCR-ODM metadata from the underlying metadata.
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}
newClassMetadataInstance ( $className )
validateRuntimeMetadata ( ClassMetadata $class, $parent ) Validate runtime metadata is correctly defined.
wakeupReflection ( Doctrine\Common\Persistence\Mapping\ClassMetadata $class, Doctrine\Common\Persistence\Mapping\ReflectionService $reflService )

비공개 메소드들

메소드 설명
addInheritedDocumentOptions ( ClassMetadata $subClass, ClassMetadata $parentClass ) Set the document level options of the parent class to the subclass.
addInheritedFields ( ClassMetadata $subClass, ClassMetadata $parentClass ) Adds inherited fields to the subclass mapping.

메소드 상세

__construct() 공개 메소드

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

doLoadMetadata() 보호된 메소드

Actually loads PHPCR-ODM metadata from the underlying metadata.
protected doLoadMetadata ( ClassMetadata $class, ClassMetadata | null $parent, boolean $rootEntityFound, array $nonSuperclassParents )
$class ClassMetadata
$parent ClassMetadata | null
$rootEntityFound boolean
$nonSuperclassParents array All parent class names that are not marked as mapped superclasses.

getDriver() 보호된 메소드

protected getDriver ( )

getFqcnFromAlias() 보호된 메소드

protected getFqcnFromAlias ( $namespaceAlias, $simpleClassName )

getMetadataFor() 공개 메소드

public getMetadataFor ( $className )

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() 공개 메소드

public loadMetadata ( $className )

newClassMetadataInstance() 보호된 메소드

protected newClassMetadataInstance ( $className )

validateRuntimeMetadata() 보호된 메소드

Validate runtime metadata is correctly defined.
protected validateRuntimeMetadata ( ClassMetadata $class, $parent )
$class ClassMetadata
$parent

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

프로퍼티 상세

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

protected $cacheSalt