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.
http://api.symfony.com/4.0/Symfony/Component/PropertyInfo/PropertyAccessExtractorInterface.html