38 lines
1.2 KiB
YAML
38 lines
1.2 KiB
YAML
|
name: RemoveUnusedDefinitionsPass
|
||
|
class_comment: '# * Removes unused service definitions from the container.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @author Johannes M. Schmitt <schmittjoh@gmail.com>
|
||
|
|
||
|
# * @author Nicolas Grekas <p@tchwork.com>'
|
||
|
dependencies:
|
||
|
- name: ContainerBuilder
|
||
|
type: class
|
||
|
source: Symfony\Component\DependencyInjection\ContainerBuilder
|
||
|
- name: Reference
|
||
|
type: class
|
||
|
source: Symfony\Component\DependencyInjection\Reference
|
||
|
properties: []
|
||
|
methods:
|
||
|
- name: process
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: container
|
||
|
comment: "# * Removes unused service definitions from the container.\n# *\n# * @author\
|
||
|
\ Johannes M. Schmitt <schmittjoh@gmail.com>\n# * @author Nicolas Grekas <p@tchwork.com>\n\
|
||
|
# */\n# class RemoveUnusedDefinitionsPass extends AbstractRecursivePass\n# {\n\
|
||
|
# protected bool $skipScalars = true;\n# \n# private array $connectedIds = [];\n\
|
||
|
# \n# /**\n# * Processes the ContainerBuilder to remove unused definitions."
|
||
|
- name: processValue
|
||
|
visibility: protected
|
||
|
parameters:
|
||
|
- name: value
|
||
|
- name: isRoot
|
||
|
default: 'false'
|
||
|
comment: null
|
||
|
traits:
|
||
|
- Symfony\Component\DependencyInjection\ContainerBuilder
|
||
|
- Symfony\Component\DependencyInjection\Reference
|
||
|
interfaces: []
|