class PhpDocExtractor implements PropertyDescriptionExtractorInterface, PropertyTypeExtractorInterface
Extracts data using a PHPDoc parser.
PROPERTY | |
ACCESSOR | |
MUTATOR |
__construct(DocBlockFactoryInterface $docBlockFactory = null, array $mutatorPrefixes = null, array $accessorPrefixes = null, array $arrayMutatorPrefixes = null) | ||
string|null | getShortDescription(string $class, string $property, array $context = array()) Gets the short description of the property. | |
string|null | getLongDescription(string $class, string $property, array $context = array()) Gets the long description of the property. | |
Type[]|null | getTypes(string $class, string $property, array $context = array()) Gets types of a property. |
DocBlockFactoryInterface | $docBlockFactory | |
array | $mutatorPrefixes | |
array | $accessorPrefixes | |
array | $arrayMutatorPrefixes |
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 |
Gets types of a property.
string | $class | |
string | $property | |
array | $context |
Type[]|null |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/PropertyInfo/Extractor/PhpDocExtractor.html