MappingDriver
in
Contract for metadata drivers.
Table of Contents
Methods
- getAllClassNames() : array<int, string>
- Gets the names of all mapped classes known to this 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.
Methods
getAllClassNames()
Gets the names of all mapped classes known to this driver.
public
getAllClassNames() : array<int, string>
Tags
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(string $className) : bool
This is only the case if it is either mapped as an Entity or a MappedSuperclass.
Parameters
- $className : string
Tags
Return values
boolloadMetadataForClass()
Loads the metadata for the specified class into the provided container.
public
loadMetadataForClass(string $className, ClassMetadata $metadata) : void
Parameters
- $className : string
- $metadata : ClassMetadata