PHP Класс Doctrine\ODM\MongoDB\Mapping\ClassMetadataFactory

С версии: 1.0
Наследование: extends Doctrine\Common\Persistence\Mapping\AbstractClassMetadataFactory
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$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