class OrmSchemaProvider implements SchemaProviderInterface (View source)

The OrmSchemaProvider class is responsible for creating a Doctrine\DBAL\Schema\Schema instance from the mapping information provided by the Doctrine ORM. This is then used to diff against your current database schema to produce a migration to bring your database in sync with the ORM mapping information.

Methods

__construct(EntityManagerInterface $em)

No description

createSchema()

No description

Details

__construct(EntityManagerInterface $em)

Parameters

EntityManagerInterface $em

createSchema()

Exceptions

NoMappingFound