PHP Class Command\ModelGeneratorCommand

Inheritance: extends Symfony\Component\Console\Command\Command
Exibir arquivo Open project: letsdrink/ouzo

Public Methods

Method Description
configure ( )
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
fail ( $message, $exitCode = 1 )

Private Methods

Method Description
generateModel ( )
saveClassToFile ( Generator $modelGenerator, $fileName )
writeInfo ( $info, $value )

Method Details

configure() public method

public 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

fail() public method

public fail ( $message, $exitCode = 1 )