PHP Interface Doctrine\OXM\Mapping\Driver\Driver

Since: 2.0
Author: Richard Fullmer ([email protected])
Afficher le fichier Open project: doctrine/oxm Interface Usage Examples

Méthodes publiques

Méthode Description
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.

Method Details

getAllClassNames() public méthode

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

isTransient() public méthode

This is only the case if it is either mapped as an XmlEntity
public isTransient ( string $className ) : boolean
$className string
Résultat boolean

loadMetadataForClass() public méthode

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