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