PHP Класс WellCommerce\Bundle\DoctrineBundle\Command\GenerateEntityExtraCommand

Автор: Adam Piotrowski ([email protected])
Наследование: extends Symfony\Component\Console\Command\Command
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$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

Открытые методы

Метод Описание
__construct ( WellCommerce\Bundle\DoctrineBundle\Enhancer\TraitGenerator\TraitGeneratorEnhancerCollection $collection, WellCommerce\Bundle\DoctrineBundle\Enhancer\TraitGenerator\TraitGeneratorEnhancerTraverserInterface $traverser, WellCommerce\Bundle\CoreBundle\Helper\Environment\EnvironmentHelperInterface $environmentHelper ) GenerateEntityExtraCommand constructor.

Защищенные методы

Метод Описание
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

Описание методов

__construct() публичный Метод

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 configure ( )

execute() защищенный Метод

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() защищенный Метод

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

executeSchemaUpdate() защищенный Метод

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

generateTrait() защищенный Метод

Generates a trait class
protected generateTrait ( Wingu\OctopusCore\Reflection\ReflectionClass $reflectionClass ) : string
$reflectionClass Wingu\OctopusCore\Reflection\ReflectionClass
Результат string

Описание свойств

$collection защищенное свойство

protected TraitGeneratorEnhancerCollection,WellCommerce\Bundle\DoctrineBundle\Enhancer\TraitGenerator $collection
Результат WellCommerce\Bundle\DoctrineBundle\Enhancer\TraitGenerator\TraitGeneratorEnhancerCollection

$environmentHelper защищенное свойство

protected EnvironmentHelperInterface,WellCommerce\Bundle\CoreBundle\Helper\Environment $environmentHelper
Результат WellCommerce\Bundle\CoreBundle\Helper\Environment\EnvironmentHelperInterface

$filesystem защищенное свойство

protected Filesystem,Symfony\Component\Filesystem $filesystem
Результат Symfony\Component\Filesystem\Filesystem

$traverser защищенное свойство

protected TraitGeneratorEnhancerTraverserInterface,WellCommerce\Bundle\DoctrineBundle\Enhancer\TraitGenerator $traverser
Результат WellCommerce\Bundle\DoctrineBundle\Enhancer\TraitGenerator\TraitGeneratorEnhancerTraverserInterface