\Symfony\Component\PropertyInfoPropertyInfoCacheExtractor

Adds a PSR-6 cache layer on top of an extractor.

Summary

Methods
Properties
Constants
__construct()
isReadable()
isWritable()
getShortDescription()
getLongDescription()
getProperties()
getTypes()
isInitializable()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
extract()
$propertyInfoExtractor
$cacheItemPool
$arrayCache
N/A

Properties

$propertyInfoExtractor

$propertyInfoExtractor

$cacheItemPool

$cacheItemPool

$arrayCache

$arrayCache

Methods

__construct()

__construct(\Symfony\Component\PropertyInfo\PropertyInfoExtractorInterface  $propertyInfoExtractor, \Psr\Cache\CacheItemPoolInterface  $cacheItemPool) : mixed

Parameters

\Symfony\Component\PropertyInfo\PropertyInfoExtractorInterface $propertyInfoExtractor
\Psr\Cache\CacheItemPoolInterface $cacheItemPool

Returns

mixed —

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 —

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 —

getProperties()

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

{@inheritdoc}

Parameters

string $class
array $context

Returns

?array —

getTypes()

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

{@inheritdoc}

Parameters

string $class
string $property
array $context

Returns

?array —

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(string  $method, array  $arguments) : mixed

Retrieves the cached data if applicable or delegates to the decorated extractor.

Parameters

string $method
array $arguments

Returns

mixed —