DatabaseDriver
class DatabaseDriver implements MappingDriver (View source)
The DatabaseDriver reverse engineers the mapping metadata from a database.
Methods
__construct(AbstractSchemaManager $schemaManager)
No description
void
setNamespace(string $namespace)
Set the namespace for the generated entities.
isTransient($className)
{@inheritDoc}
getAllClassNames()
{@inheritDoc}
void
setClassNameForTable(string $tableName, string $className)
Sets class name for a table.
void
setFieldNameForColumn(string $tableName, string $columnName, string $fieldName)
Sets field name for a column on a specific table.
void
setTables(array $entityTables, array $manyToManyTables)
Sets tables manually instead of relying on the reverse engineering capabilities of SchemaManager.
loadMetadataForClass($className, ClassMetadata $metadata)
{@inheritDoc}
Details
at line 84
__construct(AbstractSchemaManager $schemaManager)
at line 96
void
setNamespace(string $namespace)
Set the namespace for the generated entities.
at line 104
isTransient($className)
{@inheritDoc}
at line 112
getAllClassNames()
{@inheritDoc}
at line 127
void
setClassNameForTable(string $tableName, string $className)
Sets class name for a table.
at line 141
void
setFieldNameForColumn(string $tableName, string $columnName, string $fieldName)
Sets field name for a column on a specific table.
at line 154
void
setTables(array $entityTables, array $manyToManyTables)
Sets tables manually instead of relying on the reverse engineering capabilities of SchemaManager.
at line 173
loadMetadataForClass($className, ClassMetadata $metadata)
{@inheritDoc}