MigrationsDiffDoctrineCommand
extends GenerateCommand
in package
Command for generate migration classes by comparing your current database schema to your mapping information.
Tags
Table of Contents
Methods
- execute() : null
- Generate sql queries and create new migration class
- configure() : mixed
- Configuration
- buildCodeFromSql() : string
- create the sql queries
Methods
execute()
Generate sql queries and create new migration class
public
execute(InputInterface $input, OutputInterface $output) : null
Parameters
- $input : InputInterface
- $output : OutputInterface
Tags
Return values
nullconfigure()
Configuration
protected
configure() : mixed
buildCodeFromSql()
create the sql queries
private
buildCodeFromSql(Configuration $configuration, array<string|int, mixed> $sql) : string
Parameters
- $configuration : Configuration
- $sql : array<string|int, mixed>