Spec-Zone.ru › Symfony 2.8

PhpDocExtractor

class PhpDocExtractor implements PropertyDescriptionExtractorInterface, PropertyTypeExtractorInterface

Извлекает данные с помощью парсера PHPDoc.

Константы

PROPERTY
ACCESSOR
MUTATOR

Методы

string|null getShortDescription(string $class, string $property, array $context = array())

Получает краткое описание свойства.

string|null getLongDescription(string $class, string $property, array $context = array())

Получает подробное описание свойства.

Type[]|null getTypes(string $class, string $property, array $context = array())

Получает типы свойства.

Подробности

string|null getShortDescription(string $class, string $property, array $context = array())

Получает краткое описание свойства.

Параметры

string $class
string $property
array $context

Значение результата

string|null

string|null getLongDescription(string $class, string $property, array $context = array())

Получает подробное описание свойства.

Параметры

string $class
string $property
array $context

Значение результата

string|null

Type[]|null getTypes(string $class, string $property, array $context = array())

Получает типы свойства.

Параметры

string $class
string $property
array $context

Значение результата

Type[]|null

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/2.8/Symfony/Component/PropertyInfo/Extractor/PhpDocExtractor.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API