W3cubDocs

/Symfony 4.1

PropertyInfoPass

class PropertyInfoPass implements CompilerPassInterface

Adds extractors to the property_info service.

Traits

PriorityTaggedServiceTrait Trait that allows a generic method to find and sort service by priority option in the tag.

Methods

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

You can modify the container here before it is dumped to PHP code.

Details

__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')

Parameters

string $propertyInfoService
string $listExtractorTag
string $typeExtractorTag
string $descriptionExtractorTag
string $accessExtractorTag

process(ContainerBuilder $container)

You can modify the container here before it is dumped to PHP code.

Parameters

ContainerBuilder $container