interface PropertyInfoExtractorInterface implements PropertyTypeExtractorInterface, PropertyDescriptionExtractorInterface, PropertyAccessExtractorInterface, PropertyListExtractorInterface
Gets info about PHP class properties.
A convenient interface inheriting all specific info interfaces.
Type[]|null | getTypes(string $class, string $property, array $context = array()) Gets types of a property. | from PropertyTypeExtractorInterface |
string|null | getShortDescription(string $class, string $property, array $context = array()) Gets the short description of the property. | from PropertyDescriptionExtractorInterface |
string|null | getLongDescription(string $class, string $property, array $context = array()) Gets the long description of the property. | from PropertyDescriptionExtractorInterface |
bool|null | isReadable(string $class, string $property, array $context = array()) Is the property readable? | from PropertyAccessExtractorInterface |
bool|null | isWritable(string $class, string $property, array $context = array()) Is the property writable? | from PropertyAccessExtractorInterface |
string[]|null | getProperties(string $class, array $context = array()) Gets the list of properties available for the given class. | from PropertyListExtractorInterface |
Gets types of a property.
string | $class | |
string | $property | |
array | $context |
Type[]|null |
Gets the short description of the property.
string | $class | |
string | $property | |
array | $context |
string|null |
Gets the long description of the property.
string | $class | |
string | $property | |
array | $context |
string|null |
Is the property readable?
string | $class | |
string | $property | |
array | $context |
bool|null |
Is the property writable?
string | $class | |
string | $property | |
array | $context |
bool|null |
Gets the list of properties available for the given class.
string | $class | |
array | $context |
string[]|null |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/PropertyInfo/PropertyInfoExtractorInterface.html