PHP Class Doctrine\DBAL\Migrations\Provider\SchemaDiffProvider

Inheritance: implements Doctrine\DBAL\Migrations\Provider\SchemaDiffProviderInterface
Exibir arquivo Open project: doctrine/migrations

Public Methods

Method Description
__construct ( Doctrine\DBAL\Schema\AbstractSchemaManager $schemaManager, Doctrine\DBAL\Platforms\AbstractPlatform $platform )
createFromSchema ( ) : Doctrine\DBAL\Schema\Schema
createToSchema ( Doctrine\DBAL\Schema\Schema $fromSchema ) : Doctrine\DBAL\Schema\Schema
getSqlDiffToMigrate ( Doctrine\DBAL\Schema\Schema $fromSchema, Doctrine\DBAL\Schema\Schema $toSchema ) : string[]

Method Details

__construct() public method

public __construct ( Doctrine\DBAL\Schema\AbstractSchemaManager $schemaManager, Doctrine\DBAL\Platforms\AbstractPlatform $platform )
$schemaManager Doctrine\DBAL\Schema\AbstractSchemaManager
$platform Doctrine\DBAL\Platforms\AbstractPlatform

createFromSchema() public method

public createFromSchema ( ) : Doctrine\DBAL\Schema\Schema
return Doctrine\DBAL\Schema\Schema

createToSchema() public method

public createToSchema ( Doctrine\DBAL\Schema\Schema $fromSchema ) : Doctrine\DBAL\Schema\Schema
$fromSchema Doctrine\DBAL\Schema\Schema
return Doctrine\DBAL\Schema\Schema

getSqlDiffToMigrate() public method

public getSqlDiffToMigrate ( Doctrine\DBAL\Schema\Schema $fromSchema, Doctrine\DBAL\Schema\Schema $toSchema ) : string[]
$fromSchema Doctrine\DBAL\Schema\Schema
$toSchema Doctrine\DBAL\Schema\Schema
return string[]