PHP Class Doctrine\DBAL\Migrations\Tools\Console\Command\GenerateCommand

Since: 2.0
Author: Jonathan Wage ([email protected])
Inheritance: extends AbstractCommand
显示文件 Open project: doctrine/migrations Class Usage Examples

Public Methods

Method Description
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )

Protected Methods

Method Description
configure ( )
generateMigration ( Configuration $configuration, Symfony\Component\Console\Input\InputInterface $input, $version, $up = null, $down = null )
getTemplate ( )

Method Details

configure() protected method

protected configure ( )

execute() public method

public execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface

generateMigration() protected method

protected generateMigration ( Configuration $configuration, Symfony\Component\Console\Input\InputInterface $input, $version, $up = null, $down = null )
$configuration Doctrine\DBAL\Migrations\Configuration\Configuration
$input Symfony\Component\Console\Input\InputInterface

getTemplate() protected method

protected getTemplate ( )