\Symfony\Component\PropertyInfoPropertyInfoExtractor

Default {@see PropertyInfoExtractorInterface} implementation.

Summary

Methods
Properties
Constants
__construct()
getProperties()
getShortDescription()
getLongDescription()
getTypes()
isReadable()
isWritable()
isInitializable()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
extract()
$listExtractors
$typeExtractors
$descriptionExtractors
$accessExtractors
$initializableExtractors
N/A

Properties

$listExtractors

$listExtractors

$typeExtractors

$typeExtractors

$descriptionExtractors

$descriptionExtractors

$accessExtractors

$accessExtractors

$initializableExtractors

$initializableExtractors

Methods

__construct()

__construct(iterable|\Symfony\Component\PropertyInfo\PropertyListExtractorInterface[]  $listExtractors = [], iterable|\Symfony\Component\PropertyInfo\PropertyTypeExtractorInterface[]  $typeExtractors = [], iterable|\Symfony\Component\PropertyInfo\PropertyDescriptionExtractorInterface[]  $descriptionExtractors = [], iterable|\Symfony\Component\PropertyInfo\PropertyAccessExtractorInterface[]  $accessExtractors = [], iterable|\Symfony\Component\PropertyInfo\PropertyInitializableExtractorInterface[]  $initializableExtractors = []) : mixed

Parameters

iterable|\Symfony\Component\PropertyInfo\PropertyListExtractorInterface[] $listExtractors
iterable|\Symfony\Component\PropertyInfo\PropertyTypeExtractorInterface[] $typeExtractors
iterable|\Symfony\Component\PropertyInfo\PropertyDescriptionExtractorInterface[] $descriptionExtractors
iterable|\Symfony\Component\PropertyInfo\PropertyAccessExtractorInterface[] $accessExtractors
iterable|\Symfony\Component\PropertyInfo\PropertyInitializableExtractorInterface[] $initializableExtractors

Returns

mixed —

getProperties()

getProperties(string  $class, array  $context = []) : ?array

{@inheritdoc}

Parameters

string $class
array $context

Returns

?array —

getShortDescription()

getShortDescription(string  $class, string  $property, array  $context = []) : ?string

{@inheritdoc}

Parameters

string $class
string $property
array $context

Returns

?string —

getLongDescription()

getLongDescription(string  $class, string  $property, array  $context = []) : ?string

{@inheritdoc}

Parameters

string $class
string $property
array $context

Returns

?string —

getTypes()

getTypes(string  $class, string  $property, array  $context = []) : ?array

{@inheritdoc}

Parameters

string $class
string $property
array $context

Returns

?array —

isReadable()

isReadable(string  $class, string  $property, array  $context = []) : ?bool

{@inheritdoc}

Parameters

string $class
string $property
array $context

Returns

?bool —

isWritable()

isWritable(string  $class, string  $property, array  $context = []) : ?bool

{@inheritdoc}

Parameters

string $class
string $property
array $context

Returns

?bool —

isInitializable()

isInitializable(string  $class, string  $property, array  $context = []) : ?bool

Is the property initializable? Returns true if a constructor's parameter matches the given property name.

Parameters

string $class
string $property
array $context

Returns

?bool —

extract()

extract(iterable  $extractors, string  $method, array  $arguments) : mixed

Iterates over registered extractors and return the first value found.

Parameters

iterable $extractors
string $method
array $arguments

Returns

mixed —