PHP 클래스 WellCommerce\Bundle\DoctrineBundle\Enhancer\AbstractMappingEnhancer

저자: Adam Piotrowski ([email protected])
상속: implements WellCommerce\Bundle\DoctrineBundle\Enhancer\MappingEnhancerInterface
파일 보기 프로젝트 열기: wellcommerce/wellcommerce

공개 메소드들

메소드 설명
supportsEntity ( string $className ) : boolean
supportsEntityExtraTrait ( string $className ) : boolean
visitClassMetadata ( Doctrine\ORM\Mapping\ClassMetadataInfo $metadata )
visitTraitGenerator ( Wingu\OctopusCore\CodeGenerator\PHP\OOP\TraitGenerator $generator )

보호된 메소드들

메소드 설명
addGetterMethod ( Wingu\OctopusCore\CodeGenerator\PHP\OOP\TraitGenerator $generator, string $property ) Adds a getter method to generator
addProperty ( Wingu\OctopusCore\CodeGenerator\PHP\OOP\TraitGenerator $generator, string $property ) Adds a property to generator
addSetterMethod ( Wingu\OctopusCore\CodeGenerator\PHP\OOP\TraitGenerator $generator, string $property ) Adds a setter method to generator
configureMappingDefinition ( WellCommerce\Bundle\DoctrineBundle\Definition\MappingDefinitionCollection $collection )
getMappingDefinitionCollection ( ) : WellCommerce\Bundle\DoctrineBundle\Definition\MappingDefinitionCollection

비공개 메소드들

메소드 설명
extendClassMetadata ( Doctrine\ORM\Mapping\ClassMetadataInfo $metadata, WellCommerce\Bundle\DoctrineBundle\Definition\MappingDefinitionCollection $collection ) Extends the mapping
extendTrait ( Wingu\OctopusCore\CodeGenerator\PHP\OOP\TraitGenerator $generator, WellCommerce\Bundle\DoctrineBundle\Definition\MappingDefinitionCollection $collection ) Extend the trait

메소드 상세

addGetterMethod() 보호된 메소드

Adds a getter method to generator
protected addGetterMethod ( Wingu\OctopusCore\CodeGenerator\PHP\OOP\TraitGenerator $generator, string $property )
$generator Wingu\OctopusCore\CodeGenerator\PHP\OOP\TraitGenerator
$property string

addProperty() 보호된 메소드

Adds a property to generator
protected addProperty ( Wingu\OctopusCore\CodeGenerator\PHP\OOP\TraitGenerator $generator, string $property )
$generator Wingu\OctopusCore\CodeGenerator\PHP\OOP\TraitGenerator
$property string

addSetterMethod() 보호된 메소드

Adds a setter method to generator
protected addSetterMethod ( Wingu\OctopusCore\CodeGenerator\PHP\OOP\TraitGenerator $generator, string $property )
$generator Wingu\OctopusCore\CodeGenerator\PHP\OOP\TraitGenerator
$property string

configureMappingDefinition() 추상적인 보호된 메소드

abstract protected configureMappingDefinition ( WellCommerce\Bundle\DoctrineBundle\Definition\MappingDefinitionCollection $collection )
$collection WellCommerce\Bundle\DoctrineBundle\Definition\MappingDefinitionCollection

getMappingDefinitionCollection() 보호된 메소드

protected getMappingDefinitionCollection ( ) : WellCommerce\Bundle\DoctrineBundle\Definition\MappingDefinitionCollection
리턴 WellCommerce\Bundle\DoctrineBundle\Definition\MappingDefinitionCollection

supportsEntity() 공개 메소드

public supportsEntity ( string $className ) : boolean
$className string
리턴 boolean

supportsEntityExtraTrait() 공개 메소드

public supportsEntityExtraTrait ( string $className ) : boolean
$className string
리턴 boolean

visitClassMetadata() 공개 메소드

public visitClassMetadata ( Doctrine\ORM\Mapping\ClassMetadataInfo $metadata )
$metadata Doctrine\ORM\Mapping\ClassMetadataInfo

visitTraitGenerator() 공개 메소드

public visitTraitGenerator ( Wingu\OctopusCore\CodeGenerator\PHP\OOP\TraitGenerator $generator )
$generator Wingu\OctopusCore\CodeGenerator\PHP\OOP\TraitGenerator