class Driver implements MappingDriver

Methods

__construct(AbstractSchemaManager $schemaManager)

No description

void
setNamespace(string $namespace)

Set the namespace for the generated entities.

generateClasses()

No description

void
loadMetadataForClass($className, ClassMetadata $metadata)

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

string[]
getAllClassNames()

Gets the names of all mapped classes known to this driver.

void
setClassNameForTable(string $objectDefinition, string $className)

Sets class name for a objectDefinition.

isTransient(string $className)

Returns whether the class with the specified name should have its metadata loaded.

Details

at line 46
__construct(AbstractSchemaManager $schemaManager)

Parameters

AbstractSchemaManager $schemaManager

at line 59
void setNamespace(string $namespace)

Set the namespace for the generated entities.

Parameters

string $namespace 7 *

Return Value

void

at line 64
generateClasses()

at line 109
void loadMetadataForClass($className, ClassMetadata $metadata)

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

Parameters

$className
ClassMetadata $metadata

Return Value

void

at line 163
string[] getAllClassNames()

Gets the names of all mapped classes known to this driver.

Return Value

string[] The names of all mapped classes known to this driver.

at line 176
void setClassNameForTable(string $objectDefinition, string $className)

Sets class name for a objectDefinition.

Parameters

string $objectDefinition
string $className

Return Value

void

at line 187
isTransient(string $className)

Returns whether the class with the specified name should have its metadata loaded.

This is only the case if it is either mapped as an Entity or a MappedSuperclass.

Parameters

string $className