Documentation

ConstructorExtractor
in package
implements PropertyTypeExtractorInterface

FinalYes

Extracts the constructor argument type using ConstructorArgumentTypeExtractorInterface implementations.

Tags
author

Dmitrii Poddubnyi dpoddubny@gmail.com

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

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> = []
Return values
array<string|int, Type>|null

        
On this page

Search results