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