Свойство | 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é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é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 |
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 |
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 |
protected executeMetadataCacheClear ( Symfony\Component\Console\Output\OutputInterface $output ) | ||
$output | Symfony\Component\Console\Output\OutputInterface |
protected executeSchemaUpdate ( Symfony\Component\Console\Output\OutputInterface $output ) | ||
$output | Symfony\Component\Console\Output\OutputInterface |
protected generateTrait ( Wingu\OctopusCore\Reflection\ReflectionClass $reflectionClass ) : string | ||
$reflectionClass | Wingu\OctopusCore\Reflection\ReflectionClass | |
Résultat | string |
protected TraitGeneratorEnhancerCollection,WellCommerce\Bundle\DoctrineBundle\Enhancer\TraitGenerator $collection | ||
Résultat | WellCommerce\Bundle\DoctrineBundle\Enhancer\TraitGenerator\TraitGeneratorEnhancerCollection |
protected EnvironmentHelperInterface,WellCommerce\Bundle\CoreBundle\Helper\Environment $environmentHelper | ||
Résultat | WellCommerce\Bundle\CoreBundle\Helper\Environment\EnvironmentHelperInterface |
protected Filesystem,Symfony\Component\Filesystem $filesystem | ||
Résultat | Symfony\Component\Filesystem\Filesystem |