PHP Class Xethron\MigrationsGenerator\Generators\SchemaGenerator

Afficher le fichier Open project: xethron/migrations-generator Class Usage Examples

Protected Properties

Свойство Type Description
$database string
$fieldGenerator FieldGenerator
$foreignKeyGenerator Xethron\MigrationsGenerator\Generators\ForeignKeyGenerator
$schema Doctrine\DBAL\Schema\AbstractSchemaManager

Méthodes publiques

Méthode Description
__construct ( string $database, boolean $ignoreIndexNames, boolean $ignoreForeignKeyNames )
getFields ( $table )
getForeignKeyConstraints ( $table )
getTables ( ) : mixed

Method Details

__construct() public méthode

public __construct ( string $database, boolean $ignoreIndexNames, boolean $ignoreForeignKeyNames )
$database string
$ignoreIndexNames boolean
$ignoreForeignKeyNames boolean

getFields() public méthode

public getFields ( $table )

getForeignKeyConstraints() public méthode

public getForeignKeyConstraints ( $table )

getTables() public méthode

public getTables ( ) : mixed
Résultat mixed

Property Details

$database protected_oe property

protected string $database
Résultat string

$fieldGenerator protected_oe property

protected FieldGenerator,Xethron\MigrationsGenerator\Generators $fieldGenerator
Résultat FieldGenerator

$foreignKeyGenerator protected_oe property

protected ForeignKeyGenerator,Xethron\MigrationsGenerator\Generators $foreignKeyGenerator
Résultat Xethron\MigrationsGenerator\Generators\ForeignKeyGenerator

$schema protected_oe property

protected AbstractSchemaManager,Doctrine\DBAL\Schema $schema
Résultat Doctrine\DBAL\Schema\AbstractSchemaManager