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

С версии: 2.0
Автор: Richard Fullmer ([email protected])
Наследование: extends AbstractFileDriver
Показать файл Открыть проект Примеры использования класса

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

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

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

Метод Описание
loadMappingFile ( string $file ) : array Loads a mapping file with the given name and returns a map from class/entity names to their corresponding elements.

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

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 XmlEntity
public isTransient ( string $className ) : boolean
$className string
Результат boolean

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

Loads a mapping file with the given name and returns a map from class/entity names to their corresponding elements.
protected loadMappingFile ( string $file ) : array
$file string The mapping file to load.
Результат array

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

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