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 StubSchemaProvider takes a Doctrine\DBAL\Schema\Schema instance through the constructor and returns it
* from the createSchema() method.
*/
final class StubSchemaProvider implements SchemaProvider
{
/** @var Schema */
private $toSchema;
public function __construct(Schema $schema)
$this->toSchema = $schema;
}
public function createSchema() : Schema
return $this->toSchema;