PHP Class Doctrine\OXM\Mapping\Driver\DriverChain

Since: 2.0
Author: Benjamin Eberlei ([email protected])
Author: Guilherme Blanco ([email protected])
Author: Jonathan H. Wage ([email protected])
Author: Roman Borschel ([email protected])
Author: Richard Fullmer ([email protected])
Inheritance: implements Doctrine\OXM\Mapping\Driver\Driver
Show file Open project: doctrine/oxm

Public Methods

Method Description
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.

Method Details

addDriver() public method

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

getAllClassNames() public method

Gets the names of all mapped classes known to this driver.
public getAllClassNames ( ) : array
return array The names of all mapped classes known to this driver.

getDrivers() public method

Get the array of nested drivers.
public getDrivers ( ) : array
return array $drivers

isTransient() public method

This is only the case for non-transient classes either mapped as an XmlEntity or XmlMappedSuperclass.
public isTransient ( string $className ) : boolean
$className string
return boolean

loadMetadataForClass() public method

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