Extracts data using a PHPDoc parser.
- author Kévin Dunglas
- final
CloneableInstantiable
| Constants |
| public Symfony |
| public Symfony |
| public Symfony |
| Methods |
public __construct(?phpDocumentor
|
| public getDocBlock(string $class, string $property) : ?phpDocumentor |
| public getLongDescription(string $class, string $property, array $context = []) : ?string |
| public getShortDescription(string $class, string $property, array $context = []) : ?string |
| public getType(string $class, string $property, array $context = []) : ?Symfony |
| public getTypeFromConstructor(string $class, string $property) : ?Symfony |
public getTypes(string $class, string $property, array $context = []) : ?array
|
public getTypesFromConstructor(string $class, string $property) : ?array
|
| Properties |
| private array $accessorPrefixes |
| private array $arrayMutatorPrefixes |
| private phpDocumentor |
private array $contexts = []
|
| private phpDocumentor |
private array $docBlocks = []
|
| private array $mutatorPrefixes |
| private Symfony |
| private Symfony |
| Methods |
| private createFromReflector(ReflectionClass $reflector) : phpDocumentor Prevents a lot of redundant calls to ContextFactory::createForNamespace(). |
| private filterDocBlockParams(phpDocumentor |
private findDocBlock(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 |