for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Doctrine\Migrations\Provider;
use Doctrine\DBAL\Schema\Schema;
/**
* The SchemaDiffProvider defines the interface used to provide the from and to schemas and to produce
* the SQL queries needed to migrate.
*
* @internal
*/
interface SchemaDiffProvider
{
public function createFromSchema() : Schema;
public function createToSchema(Schema $fromSchema) : Schema;
/** @return string[] */
public function getSqlDiffToMigrate(Schema $fromSchema, Schema $toSchema) : array;
}