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