Documentation

MappingDriver

Contract for metadata drivers.

Tags
since
2.2
author

Jonathan H. Wage jonwage@gmail.com

Table of Contents

getAllClassNames()  : array<string|int, mixed>
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<string|int, mixed>
Return values
array<string|int, mixed>

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

loadMetadataForClass()

Loads the metadata for the specified class into the provided container.

public loadMetadataForClass(string $className, ClassMetadata $metadata) : void
Parameters
$className : string
$metadata : ClassMetadata
Return values
void

Search results