PHP Класс Doctrine\DBAL\Migrations\Provider\SchemaDiffProvider

Наследование: implements Doctrine\DBAL\Migrations\Provider\SchemaDiffProviderInterface
Показать файл Открыть проект

Открытые методы

Метод Описание
__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[]

Описание методов

__construct() публичный Метод

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

createFromSchema() публичный Метод

public createFromSchema ( ) : Doctrine\DBAL\Schema\Schema
Результат Doctrine\DBAL\Schema\Schema

createToSchema() публичный Метод

public createToSchema ( Doctrine\DBAL\Schema\Schema $fromSchema ) : Doctrine\DBAL\Schema\Schema
$fromSchema Doctrine\DBAL\Schema\Schema
Результат Doctrine\DBAL\Schema\Schema

getSqlDiffToMigrate() публичный Метод

public getSqlDiffToMigrate ( Doctrine\DBAL\Schema\Schema $fromSchema, Doctrine\DBAL\Schema\Schema $toSchema ) : string[]
$fromSchema Doctrine\DBAL\Schema\Schema
$toSchema Doctrine\DBAL\Schema\Schema
Результат string[]