PHP Класс Doctrine\OXM\Mapping\Driver\DriverChain

С версии: 2.0
Автор: Benjamin Eberlei ([email protected])
Автор: Guilherme Blanco ([email protected])
Автор: Jonathan H. Wage ([email protected])
Автор: Roman Borschel ([email protected])
Автор: Richard Fullmer ([email protected])
Наследование: implements Doctrine\OXM\Mapping\Driver\Driver
Показать файл Открыть проект

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

Метод Описание
addDriver ( Doctrine\OXM\Mapping\Driver\Driver $nestedDriver, string $namespace ) Add a nested driver.
getAllClassNames ( ) : array Gets the names of all mapped classes known to this driver.
getDrivers ( ) : array Get the array of nested drivers.
isTransient ( string $className ) : boolean Whether the class with the specified name should have its metadata loaded.
loadMetadataForClass ( string $className, ClassMetadataInfo $metadata ) Loads the metadata for the specified class into the provided container.

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

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

Add a nested driver.
public addDriver ( Doctrine\OXM\Mapping\Driver\Driver $nestedDriver, string $namespace )
$nestedDriver Doctrine\OXM\Mapping\Driver\Driver
$namespace string

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.

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

Get the array of nested drivers.
public getDrivers ( ) : array
Результат array $drivers

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

This is only the case for non-transient classes either mapped as an XmlEntity or XmlMappedSuperclass.
public isTransient ( string $className ) : boolean
$className string
Результат boolean

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

Loads the metadata for the specified class into the provided container.
public loadMetadataForClass ( string $className, ClassMetadataInfo $metadata )
$className string
$metadata Doctrine\OXM\Mapping\ClassMetadataInfo