Spec-Zone.ru › Symfony 2.8

PropertyInfoExtractor

class PropertyInfoExtractor implements PropertyInfoExtractorInterface

Default {see PropertyInfoExtractorInterface} implementation.

Methods

__construct(array $listExtractors = array(), array $typeExtractors = array(), array $descriptionExtractors = array(), array $accessExtractors = array())
string[]|null getProperties(string $class, array $context = array())

Получает список свойств, доступных для данного класса.

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())

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

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

Является ли свойство доступным для чтения?

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

Является ли свойство доступным для записи?

Details

__construct(array $listExtractors = array(), array $typeExtractors = array(), array $descriptionExtractors = array(), array $accessExtractors = array())

Parameters

array $listExtractors
array $typeExtractors
array $descriptionExtractors
array $accessExtractors

string[]|null getProperties(string $class, array $context = array())

Получает список свойств, доступных для данного класса.

Parameters

string $class
array $context

Return Value

string[]|null

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

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

Parameters

string $class
string $property
array $context

Return Value

string|null

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

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

Parameters

string $class
string $property
array $context

Return Value

string|null

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

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

Parameters

string $class
string $property
array $context

Return Value

Type[]|null

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

Является ли свойство доступным для чтения?

Parameters

string $class
string $property
array $context

Return Value

bool|null

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

Является ли свойство доступным для записи?

Parameters

string $class
string $property
array $context

Return Value

bool|null

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

Spec-Zone.ru

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