PHP Класс Atrauzzi\LaravelDoctrine\ConfigMappingDriver

Наследование: implements Doctrine\Common\Persistence\Mapping\Driver\MappingDriver
Показать файл Открыть проект

Открытые методы

Метод Описание
getAllClassNames ( ) : array Gets the names of all mapped classes known to this driver.
isTransient ( string $className ) : boolean Returns whether the class with the specified name should have its metadata loaded.
loadMetadataForClass ( string $className, Doctrine\Common\Persistence\Mapping\ClassMetadata $metadata ) : void Loads the metadata for the specified class into the provided container.

Защищенные методы

Метод Описание
mapField ( Doctrine\ORM\Mapping\Builder\ClassMetadataBuilder $builder, string $name, array | string $config ) Parses configuration for a field and adds it to the class metadata.

Описание методов

getAllClassNames() публичный Метод

Gets the names of all mapped classes known to this driver.
public getAllClassNames ( ) : array
Результат array The names of all mapped classes known to this driver.

isTransient() публичный Метод

This is only the case if it is either mapped as an Entity or a MappedSuperclass.
public isTransient ( string $className ) : boolean
$className string
Результат boolean

loadMetadataForClass() публичный Метод

Loads the metadata for the specified class into the provided container.
public loadMetadataForClass ( string $className, Doctrine\Common\Persistence\Mapping\ClassMetadata $metadata ) : void
$className string
$metadata Doctrine\Common\Persistence\Mapping\ClassMetadata
Результат void

mapField() защищенный Метод

Parses configuration for a field and adds it to the class metadata.
protected mapField ( Doctrine\ORM\Mapping\Builder\ClassMetadataBuilder $builder, string $name, array | string $config )
$builder Doctrine\ORM\Mapping\Builder\ClassMetadataBuilder
$name string
$config array | string