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, s

PropertyInfoPass

class PropertyInfoPass implements CompilerPassInterface Adds extractors to the property_info service. Methods process(ContainerBuilder $container) You can modify the container here before it is dumped to PHP code. Details process(ContainerBuilder $container) You can modify the container here before it is dumped to PHP code. Parameters ContainerBuilder $container

PropertyInfoExtractor::getProperties()

string[]|null getProperties(string $class, array $context = array()) Gets the list of properties available for the given class. Parameters string $class array $context Return Value string[]|null

PropertyInfoExtractor::isReadable()

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

PropertyInfoExtractor::getShortDescription()

string|null getShortDescription(string $class, string $property, array $context = array()) Gets the short description of the property. Parameters string $class string $property array $context Return Value string|null

PropertyInfoExtractor::getTypes()

Type[]|null getTypes(string $class, string $property, array $context = array()) Gets types of a property. Parameters string $class string $property array $context Return Value Type[]|null

PropertyInfoExtractor::isWritable()

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

PropertyInfoCacheExtractor::getTypes()

Type[]|null getTypes(string $class, string $property, array $context = array()) Gets types of a property. Parameters string $class string $property array $context Return Value Type[]|null

PropertyInfoExtractor::getLongDescription()

string|null getLongDescription(string $class, string $property, array $context = array()) Gets the long description of the property. Parameters string $class string $property array $context Return Value string|null

PropertyInfoCacheExtractor::isReadable()

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