PHP Class Sensio\Bundle\GeneratorBundle\Command\GenerateDoctrineCrudCommand

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

Méthodes publiques

Méthode Description
setFormGenerator ( DoctrineFormGenerator $formGenerator )
setGenerator ( DoctrineCrudGenerator $generator )

Méthodes protégées

Méthode 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

Méthode 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 méthode

See also: Command
protected configure ( )

execute() protected méthode

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 méthode

protected getDialogHelper ( )

getFormGenerator() protected méthode

protected getFormGenerator ( )

getGenerator() protected méthode

protected getGenerator ( )

getRoutePrefix() protected méthode

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

interact() protected méthode

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 méthode

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

setGenerator() public méthode

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