Extracts data using a PHPDoc parser.
- author Kévin Dunglas
- final
CloneableInstantiable
Constants |
public Symfony |
public Symfony |
public Symfony |
Methods |
public __construct(?phpDocumentor
|
public getLongDescription(string $class, string $property, array $context = []) : ?string |
public getShortDescription(string $class, string $property, array $context = []) : ?string |
public getTypes(string $class, string $property, array $context = []) : ?array |
public getTypesFromConstructor(string $class, string $property) : ?array |
Properties |
private $accessorPrefixes = NULL |
private $arrayMutatorPrefixes = NULL |
private $contextFactory = NULL |
private $contexts = []
|
private $docBlockFactory = NULL |
private $docBlocks = []
|
private $mutatorPrefixes = NULL |
private $phpDocTypeHelper = NULL |
Methods |
private createFromReflector(ReflectionClass $reflector) : phpDocumentor Prevents a lot of redundant calls to ContextFactory::createForNamespace(). |
private filterDocBlockParams(phpDocumentor |
private getDocBlock(string $class, string $property) : array
|
private getDocBlockFromConstructor(string $class, string $property) : ?phpDocumentor |
private getDocBlockFromMethod(string $class, string $ucFirstProperty, int $type) : ?array
|
private getDocBlockFromProperty(string $class, string $property) : ?phpDocumentor |