Doctrine\DBAL\Schema\SchemaConfig
Configuration for a Schema
- Author: Benjamin Eberlei <kontakt@beberlei.de>
Synopsis
class SchemaConfig
{
- // members
- protected bool $hasExplicitForeignKeyIndexes;
- protected integer $maxIdentifierLength;
- protected string $name;
- protected array $defaultTableOptions;
- // methods
- public bool hasExplicitForeignKeyIndexes()
- public void setExplicitForeignKeyIndexes()
- public void setMaxIdentifierLength()
- public int getMaxIdentifierLength()
- public string getName()
- public void setName()
- public array getDefaultTableOptions()
- public void setDefaultTableOptions()
Members
protected
- $defaultTableOptions — array
- $hasExplicitForeignKeyIndexes — Doctrine\DBAL\Schema\bool
- $maxIdentifierLength — int
- $name — string
Methods
public
- getDefaultTableOptions() — Get the default options that are passed to Table instances created with Schema#createTable().
- getMaxIdentifierLength()
- getName() — Get default namespace of schema objects.
- hasExplicitForeignKeyIndexes()
- setDefaultTableOptions()
- setExplicitForeignKeyIndexes()
- setMaxIdentifierLength()
- setName() — set default namespace name of schema objects.