PropertyInfoPass
class PropertyInfoPass implements CompilerPassInterface
Добавляет экстракторы к сервису property_info.
Свойства
| PriorityTaggedServiceTrait | Трейт, который позволяет выполнять поиск и сортировку сервисов по параметру приоритета в теге. |
Методы
| __construct(string $propertyInfoService = 'property_info', string $listExtractorTag = 'property_info.list_extractor', string $typeExtractorTag = 'property_info.type_extractor', string $descriptionExtractorTag = 'property_info.description_extractor', string $accessExtractorTag = 'property_info.access_extractor') | ||
| process(ContainerBuilder $container) Здесь можно изменить контейнер перед выводом в код PHP. |
Подробности
__construct(string $propertyInfoService = 'property_info', string $listExtractorTag = 'property_info.list_extractor', string $typeExtractorTag = 'property_info.type_extractor', string $descriptionExtractorTag = 'property_info.description_extractor', string $accessExtractorTag = 'property_info.access_extractor')
Параметры
| string | $propertyInfoService | |
| string | $listExtractorTag | |
| string | $typeExtractorTag | |
| string | $descriptionExtractorTag | |
| string | $accessExtractorTag |
process(ContainerBuilder $container)
Здесь можно изменить контейнер перед выводом в код PHP.
Параметры
| ContainerBuilder | $container |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/4.0/Symfony/Component/PropertyInfo/DependencyInjection/PropertyInfoPass.html