PHP Class Doctrine\OXM\Mapping\Driver\StaticPHPDriver

Since: 2.0
Author: Richard Fullmer ([email protected])
Inheritance: extends AbstractFileDriver
Datei anzeigen Open project: doctrine/oxm

Public Methods

Method Description
__construct ( $paths )
addPaths ( array $paths )
getAllClassNames ( ) : array Gets the names of all mapped classes known to this driver.
isTransient ( $className )
loadMetadataForClass ( string $className, ClassMetadataInfo $metadata ) Loads the metadata for the specified class into the provided container.

Method Details

__construct() public method

public __construct ( $paths )

addPaths() public method

public addPaths ( array $paths )
$paths array

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.

isTransient() public method

public isTransient ( $className )

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