psalm-plugin-symfony/tests/acceptance/container.xml
Farhad Safarov d2f0447add
add class to codebase if service is used by id (#10)
* add class to codebase if service is used by id

* fix doc
2020-03-11 16:43:52 +03:00

21 lines
1.2 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<container xmlns="http://symfony.com/schema/dic/services" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://symfony.com/schema/dic/services https://symfony.com/schema/dic/services/services-1.0.xsd">
<parameters>
<parameter key="kernel.environment">dev</parameter>
</parameters>
<services>
<service id="foo" alias="no_such_service" public="true"/>
<service id="service_container" class="Symfony\Component\DependencyInjection\ContainerInterface" public="true" synthetic="true"/>
<service id="http_kernel" class="Symfony\Component\HttpKernel\HttpKernel" public="true">
<tag name="container.hot_path"/>
<argument type="service" id="event_dispatcher"/>
<argument type="service" id="controller_resolver"/>
<argument type="service" id="request_stack"/>
<argument type="service" id="argument_resolver"/>
</service>
<service id="Symfony\Component\HttpKernel\HttpKernelInterface" alias="http_kernel" public="true"/>
<service id="Foo\Bar" class="Foo\Bar" public="false"/>
<service id="private_service" class="Foo\Bar" public="false"/>
</services>
</container>