PHP Class ApiGen\Parser\Reflection\Extractors\AnnotationPropertyExtractor

Inheritance: implements ApiGen\Contracts\Parser\Reflection\Extractors\AnnotationPropertyExtractorInterface
Datei anzeigen Open project: apigen/apigen Class Usage Examples

Public Methods

Method Description
__construct ( ApiGen\Contracts\Parser\Reflection\TokenReflection\ReflectionFactoryInterface $reflectionFactory )
extractFromReflection ( ApiGen\Contracts\Parser\Reflection\ClassReflectionInterface $classReflection )

Private Methods

Method Description
getStartLine ( string $annotation ) : integer
processMagicPropertyAnnotation ( string $annotation, string $annotationName ) : ApiGen\Contracts\Parser\Reflection\Magic\MagicPropertyReflectionInterface[]

Method Details

__construct() public method

public __construct ( ApiGen\Contracts\Parser\Reflection\TokenReflection\ReflectionFactoryInterface $reflectionFactory )
$reflectionFactory ApiGen\Contracts\Parser\Reflection\TokenReflection\ReflectionFactoryInterface

extractFromReflection() public method

public extractFromReflection ( ApiGen\Contracts\Parser\Reflection\ClassReflectionInterface $classReflection )
$classReflection ApiGen\Contracts\Parser\Reflection\ClassReflectionInterface