PHP 클래스 WellCommerce\Bundle\DoctrineBundle\Command\GenerateEntityExtraCommand

저자: Adam Piotrowski ([email protected])
상속: extends Symfony\Component\Console\Command\Command
파일 보기 프로젝트 열기: wellcommerce/wellcommerce

보호된 프로퍼티들

프로퍼티 타입 설명
$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