class LazySchemaDiffProvider implements SchemaDiffProviderInterface (View source)

The LazySchemaDiffProvider is responsible for lazily generating the from schema when diffing two schemas to produce a migration.

Methods

__construct(LazyLoadingValueHolderFactory $proxyFactory, SchemaDiffProviderInterface $originalSchemaManipulator)

No description

static 
fromDefaultProxyFactoryConfiguration(SchemaDiffProviderInterface $originalSchemaManipulator)

No description

createFromSchema()

No description

createToSchema(Schema $fromSchema)

No description

string[]
getSqlDiffToMigrate(Schema $fromSchema, Schema $toSchema)

No description

Details

__construct(LazyLoadingValueHolderFactory $proxyFactory, SchemaDiffProviderInterface $originalSchemaManipulator)

Parameters

LazyLoadingValueHolderFactory $proxyFactory
SchemaDiffProviderInterface $originalSchemaManipulator

static fromDefaultProxyFactoryConfiguration(SchemaDiffProviderInterface $originalSchemaManipulator)

Parameters

SchemaDiffProviderInterface $originalSchemaManipulator

createFromSchema()

createToSchema(Schema $fromSchema)

Parameters

Schema $fromSchema

string[] getSqlDiffToMigrate(Schema $fromSchema, Schema $toSchema)

Parameters

Schema $fromSchema
Schema $toSchema

Return Value

string[]