mediatekformation

MappingDriverChain
in package
implements MappingDriver

The DriverChain allows you to add multiple other mapping drivers for certain namespaces.

Interfaces, Classes, Traits and Enums

MappingDriver
Contract for metadata drivers.

Table of Contents

$defaultDriver  : MappingDriver|null
The default driver.
$drivers  : array<string|int, MappingDriver>
addDriver()  : void
Adds a nested driver.
getAllClassNames()  : array<string|int, string>
Gets the names of all mapped classes known to this driver.
getDefaultDriver()  : MappingDriver|null
Gets the default driver.
getDrivers()  : array<string|int, MappingDriver>
Gets the array of nested drivers.
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.
setDefaultDriver()  : void
Set the default driver.

Properties

Methods

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.

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
Return values
void

Search results