MappingDriver
in package
implements
MappingDriver
Table of Contents
Interfaces
- MappingDriver
- Contract for metadata drivers.
Properties
Methods
- __construct() : mixed
- getAllClassNames() : array<int, string>
- Gets the names of all mapped classes known to this driver.
- getDriver() : MappingDriver
- Returns the inner driver
- isTransient() : bool
- Returns whether the class with the specified name should have its metadata loaded.
- loadMetadataForClass() : void
- Loads the metadata for the specified class into the provided container.
Properties
$driver
private
MappingDriver
$driver
$idGeneratorLocator
private
ContainerInterface
$idGeneratorLocator
Methods
__construct()
public
__construct(MappingDriver $driver, ContainerInterface $idGeneratorLocator) : mixed
Parameters
- $driver : MappingDriver
- $idGeneratorLocator : ContainerInterface
getAllClassNames()
Gets the names of all mapped classes known to this driver.
public
getAllClassNames() : array<int, string>
Return values
array<int, string> —The names of all mapped classes known to this driver.
getDriver()
Returns the inner driver
public
getDriver() : MappingDriver
Return values
MappingDriverisTransient()
Returns whether the class with the specified name should have its metadata loaded.
public
isTransient(mixed $className) : bool
Parameters
- $className : mixed
Return values
boolloadMetadataForClass()
Loads the metadata for the specified class into the provided container.
public
loadMetadataForClass(mixed $className, ClassMetadata $metadata) : void
Parameters
- $className : mixed
- $metadata : ClassMetadata