PHP Class Doctrine\DBAL\Migrations\Provider\LazySchemaDiffProvider

Inheritance: implements Doctrine\DBAL\Migrations\Provider\SchemaDiffProviderInterface
Mostra file Open project: doctrine/migrations Class Usage Examples

Public Methods

Method Description
__construct ( ProxyManager\Factory\LazyLoadingValueHolderFactory $proxyFactory, SchemaDiffProviderInterface $originalSchemaManipulator )
createFromSchema ( ) : Doctrine\DBAL\Schema\Schema
createToSchema ( Doctrine\DBAL\Schema\Schema $fromSchema ) : Doctrine\DBAL\Schema\Schema
fromDefaultProxyFacyoryConfiguration ( SchemaDiffProviderInterface $originalSchemaManipulator )
getSqlDiffToMigrate ( Doctrine\DBAL\Schema\Schema $fromSchema, Doctrine\DBAL\Schema\Schema $toSchema ) : string[]

Method Details

__construct() public method

public __construct ( ProxyManager\Factory\LazyLoadingValueHolderFactory $proxyFactory, SchemaDiffProviderInterface $originalSchemaManipulator )
$proxyFactory ProxyManager\Factory\LazyLoadingValueHolderFactory
$originalSchemaManipulator SchemaDiffProviderInterface

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

fromDefaultProxyFacyoryConfiguration() public static method

public static fromDefaultProxyFacyoryConfiguration ( SchemaDiffProviderInterface $originalSchemaManipulator )
$originalSchemaManipulator SchemaDiffProviderInterface

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[]