PHP Class WellCommerce\Bundle\DoctrineBundle\Command\GenerateEntityExtraCommand

Author: Adam Piotrowski ([email protected])
Inheritance: extends Symfony\Component\Console\Command\Command
Afficher le fichier Open project: wellcommerce/wellcommerce

Protected Properties

Свойство Type Description
$collection WellCommerce\Bundle\DoctrineBundle\Enhancer\TraitGenerator\TraitGeneratorEnhancerCollection
$environmentHelper WellCommerce\Bundle\CoreBundle\Helper\Environment\EnvironmentHelperInterface
$filesystem Symfony\Component\Filesystem\Filesystem
$traverser WellCommerce\Bundle\DoctrineBundle\Enhancer\TraitGenerator\TraitGeneratorEnhancerTraverserInterface

Méthodes publiques

Méthode Description
__construct ( WellCommerce\Bundle\DoctrineBundle\Enhancer\TraitGenerator\TraitGeneratorEnhancerCollection $collection, WellCommerce\Bundle\DoctrineBundle\Enhancer\TraitGenerator\TraitGeneratorEnhancerTraverserInterface $traverser, WellCommerce\Bundle\CoreBundle\Helper\Environment\EnvironmentHelperInterface $environmentHelper ) GenerateEntityExtraCommand constructor.

Méthodes protégées

Méthode Description
configure ( )
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) Executes the command
executeMetadataCacheClear ( Symfony\Component\Console\Output\OutputInterface $output ) Executes the cache clear through separate process
executeSchemaUpdate ( Symfony\Component\Console\Output\OutputInterface $output ) Executes the schema update through separate process
generateTrait ( Wingu\OctopusCore\Reflection\ReflectionClass $reflectionClass ) : string Generates a trait class

Method Details

__construct() public méthode

GenerateEntityExtraCommand constructor.
public __construct ( WellCommerce\Bundle\DoctrineBundle\Enhancer\TraitGenerator\TraitGeneratorEnhancerCollection $collection, WellCommerce\Bundle\DoctrineBundle\Enhancer\TraitGenerator\TraitGeneratorEnhancerTraverserInterface $traverser, WellCommerce\Bundle\CoreBundle\Helper\Environment\EnvironmentHelperInterface $environmentHelper )
$collection WellCommerce\Bundle\DoctrineBundle\Enhancer\TraitGenerator\TraitGeneratorEnhancerCollection
$traverser WellCommerce\Bundle\DoctrineBundle\Enhancer\TraitGenerator\TraitGeneratorEnhancerTraverserInterface
$environmentHelper WellCommerce\Bundle\CoreBundle\Helper\Environment\EnvironmentHelperInterface

configure() protected méthode

protected configure ( )

execute() protected méthode

Executes the 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

executeMetadataCacheClear() protected méthode

Executes the cache clear through separate process
protected executeMetadataCacheClear ( Symfony\Component\Console\Output\OutputInterface $output )
$output Symfony\Component\Console\Output\OutputInterface

executeSchemaUpdate() protected méthode

Executes the schema update through separate process
protected executeSchemaUpdate ( Symfony\Component\Console\Output\OutputInterface $output )
$output Symfony\Component\Console\Output\OutputInterface

generateTrait() protected méthode

Generates a trait class
protected generateTrait ( Wingu\OctopusCore\Reflection\ReflectionClass $reflectionClass ) : string
$reflectionClass Wingu\OctopusCore\Reflection\ReflectionClass
Résultat string

Property Details

$collection protected_oe property

protected TraitGeneratorEnhancerCollection,WellCommerce\Bundle\DoctrineBundle\Enhancer\TraitGenerator $collection
Résultat WellCommerce\Bundle\DoctrineBundle\Enhancer\TraitGenerator\TraitGeneratorEnhancerCollection

$environmentHelper protected_oe property

protected EnvironmentHelperInterface,WellCommerce\Bundle\CoreBundle\Helper\Environment $environmentHelper
Résultat WellCommerce\Bundle\CoreBundle\Helper\Environment\EnvironmentHelperInterface

$filesystem protected_oe property

protected Filesystem,Symfony\Component\Filesystem $filesystem
Résultat Symfony\Component\Filesystem\Filesystem

$traverser protected_oe property

protected TraitGeneratorEnhancerTraverserInterface,WellCommerce\Bundle\DoctrineBundle\Enhancer\TraitGenerator $traverser
Résultat WellCommerce\Bundle\DoctrineBundle\Enhancer\TraitGenerator\TraitGeneratorEnhancerTraverserInterface