Documentation

MappingDriver
in package
implements MappingDriver

Table of Contents

Interfaces

MappingDriver
Contract for metadata drivers.

Properties

$driver  : MappingDriver
$idGeneratorLocator  : ContainerInterface

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

Methods

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.

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

        
On this page

Search results