PHP Class Sensio\Bundle\GeneratorBundle\Command\GenerateDoctrineCrudCommand

Author: Fabien Potencier ([email protected])
Inheritance: extends Sensio\Bundle\GeneratorBundle\Command\GenerateDoctrineCommand
Show file Open project: pmjones/php-framework-benchmarks Class Usage Examples

Public Methods

Method Description
setFormGenerator ( DoctrineFormGenerator $formGenerator )
setGenerator ( DoctrineCrudGenerator $generator )

Protected Methods

Method Description
configure ( )
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
getDialogHelper ( )
getFormGenerator ( )
getGenerator ( )
getRoutePrefix ( Symfony\Component\Console\Input\InputInterface $input, $entity )
interact ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )

Private Methods

Method Description
generateForm ( $bundle, $entity, $metadata ) Tries to generate forms if they don't exist yet and if we need write operations on entities.
updateRouting ( $dialog, Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output, $bundle, $format, $entity, $prefix )

Method Details

configure() protected method

See also: Command
protected configure ( )

execute() protected method

See also: Command
protected 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

getDialogHelper() protected method

protected getDialogHelper ( )

getFormGenerator() protected method

protected getFormGenerator ( )

getGenerator() protected method

protected getGenerator ( )

getRoutePrefix() protected method

protected getRoutePrefix ( Symfony\Component\Console\Input\InputInterface $input, $entity )
$input Symfony\Component\Console\Input\InputInterface

interact() protected method

protected interact ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface

setFormGenerator() public method

public setFormGenerator ( DoctrineFormGenerator $formGenerator )
$formGenerator Sensio\Bundle\GeneratorBundle\Generator\DoctrineFormGenerator

setGenerator() public method

public setGenerator ( DoctrineCrudGenerator $generator )
$generator Sensio\Bundle\GeneratorBundle\Generator\DoctrineCrudGenerator