W3cubDocs

/Symfony 4.1

PropertyAccessExtractorInterface

interface PropertyAccessExtractorInterface

Guesses if the property can be accessed or mutated.

Methods

bool|null isReadable(string $class, string $property, array $context = array())

Is the property readable?

bool|null isWritable(string $class, string $property, array $context = array())

Is the property writable?

Details

bool|null isReadable(string $class, string $property, array $context = array())

Is the property readable?

Parameters

string $class
string $property
array $context

Return Value

bool|null

bool|null isWritable(string $class, string $property, array $context = array())

Is the property writable?

Parameters

string $class
string $property
array $context

Return Value

bool|null

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/PropertyInfo/PropertyAccessExtractorInterface.html