16
16
use Symfony \Component \DependencyInjection \Reference ;
17
17
18
18
/**
19
- * Adds extractors to the property_info_extractor service.
19
+ * Adds extractors to the property_info service.
20
20
*
21
21
* @author Kévin Dunglas <[email protected] >
22
22
*/
@@ -27,21 +27,21 @@ class PropertyInfoPass implements CompilerPassInterface
27
27
*/
28
28
public function process (ContainerBuilder $ container )
29
29
{
30
- if (!$ container ->hasDefinition ('property_info_extractor ' )) {
30
+ if (!$ container ->hasDefinition ('property_info ' )) {
31
31
return ;
32
32
}
33
33
34
- $ listExtractors = $ this ->findAndSortTaggedServices ('property_info ' , $ container );
35
- $ container ->getDefinition ('property_info_extractor ' )->replaceArgument (0 , $ listExtractors );
34
+ $ listExtractors = $ this ->findAndSortTaggedServices ('property_info.list_extractor ' , $ container );
35
+ $ container ->getDefinition ('property_info ' )->replaceArgument (0 , $ listExtractors );
36
36
37
- $ typeExtractors = $ this ->findAndSortTaggedServices ('property_info ' , $ container );
38
- $ container ->getDefinition ('property_info.type_extractor ' )->replaceArgument (1 , $ typeExtractors );
37
+ $ typeExtractors = $ this ->findAndSortTaggedServices ('property_info.type_extractor ' , $ container );
38
+ $ container ->getDefinition ('property_info ' )->replaceArgument (1 , $ typeExtractors );
39
39
40
- $ descriptionExtractors = $ this ->findAndSortTaggedServices ('property_info ' , $ container );
41
- $ container ->getDefinition ('property_info.description_extractor ' )->replaceArgument (2 , $ descriptionExtractors );
40
+ $ descriptionExtractors = $ this ->findAndSortTaggedServices ('property_info.description_extractor ' , $ container );
41
+ $ container ->getDefinition ('property_info ' )->replaceArgument (2 , $ descriptionExtractors );
42
42
43
- $ accessExtractors = $ this ->findAndSortTaggedServices ('property_info ' , $ container );
44
- $ container ->getDefinition ('property_info.access_extractor ' )->replaceArgument (3 , $ accessExtractors );
43
+ $ accessExtractors = $ this ->findAndSortTaggedServices ('property_info.access_extractor ' , $ container );
44
+ $ container ->getDefinition ('property_info ' )->replaceArgument (3 , $ accessExtractors );
45
45
}
46
46
47
47
/**
0 commit comments