InlineServiceDefinitionsPass
class InlineServiceDefinitionsPass extends AbstractRecursivePass implements RepeatablePassInterface
Inline service definitions where this is possible.
Methods
| process(ContainerBuilder $container) You can modify the container here before it is dumped to PHP code. | from AbstractRecursivePass | |
| setRepeatedPass(RepeatedPass $repeatedPass) | ||
| array | getInlinedServiceIds() Returns an array of all services inlined by this pass. |
Details
process(ContainerBuilder $container)
You can modify the container here before it is dumped to PHP code.
Parameters
| ContainerBuilder | $container |
setRepeatedPass(RepeatedPass $repeatedPass)
Parameters
| RepeatedPass | $repeatedPass |
array getInlinedServiceIds()
Returns an array of all services inlined by this pass.
The key is the inlined service id and its value is the list of services it was inlined into.
Return Value
| array |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.3/Symfony/Component/DependencyInjection/Compiler/InlineServiceDefinitionsPass.html