PropertyAccessExtractorInterface
интерфейс PropertyAccessExtractorInterface
Определяет, можно ли получить доступ к свойству или изменить его.
Методы
| bool|null | isReadable(string $class, string $property, array $context = array()) Можно ли прочитать свойство? | |
| bool|null | isWritable(string $class, string $property, array $context = array()) Можно ли изменить свойство? |
Подробное описание
bool|null isReadable(string $class, string $property, array $context = array())
Можно ли прочитать свойство?
Параметры
| string | $class | |
| string | $property | |
| array | $context |
Возвращаемое значение
| bool|null |
bool|null isWritable(string $class, string $property, array $context = array())
Можно ли изменить свойство?
Параметры
| string | $class | |
| string | $property | |
| array | $context |
Возвращаемое значение
| bool|null |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.0/Symfony/Component/PropertyInfo/PropertyAccessExtractorInterface.html