PHP Class Xethron\MigrationsGenerator\Generators\SchemaGenerator

Datei anzeigen Open project: xethron/migrations-generator Class Usage Examples

Protected Properties

Property Type Description
$database string
$fieldGenerator FieldGenerator
$foreignKeyGenerator Xethron\MigrationsGenerator\Generators\ForeignKeyGenerator
$schema Doctrine\DBAL\Schema\AbstractSchemaManager

Public Methods

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

Method Details

__construct() public method

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

getFields() public method

public getFields ( $table )

getForeignKeyConstraints() public method

public getForeignKeyConstraints ( $table )

getTables() public method

public getTables ( ) : mixed
return mixed

Property Details

$database protected_oe property

protected string $database
return string

$fieldGenerator protected_oe property

protected FieldGenerator,Xethron\MigrationsGenerator\Generators $fieldGenerator
return FieldGenerator

$foreignKeyGenerator protected_oe property

protected ForeignKeyGenerator,Xethron\MigrationsGenerator\Generators $foreignKeyGenerator
return Xethron\MigrationsGenerator\Generators\ForeignKeyGenerator

$schema protected_oe property

protected AbstractSchemaManager,Doctrine\DBAL\Schema $schema
return Doctrine\DBAL\Schema\AbstractSchemaManager