ConstructorExtractor
in package
implements
PropertyTypeExtractorInterface
FinalYes
Extracts the constructor argument type using ConstructorArgumentTypeExtractorInterface implementations.
Tags
Table of Contents
Interfaces
- PropertyTypeExtractorInterface
- Type Extractor Interface.
Properties
- $extractors : mixed
Methods
- __construct() : mixed
- getTypes() : array<string|int, Type>|null
- Gets types of a property.
Properties
$extractors
private
mixed
$extractors
Methods
__construct()
public
__construct([iterable<int, ConstructorArgumentTypeExtractorInterface> $extractors = [] ]) : mixed
Parameters
- $extractors : iterable<int, ConstructorArgumentTypeExtractorInterface> = []
getTypes()
Gets types of a property.
public
getTypes(string $class, string $property[, array<string|int, mixed> $context = [] ]) : array<string|int, Type>|null
Parameters
- $class : string
- $property : string
- $context : array<string|int, mixed> = []