psalm-plugin-symfony/tests/acceptance/container.xml

43 lines
2.4 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>
<parameter key="debug_enabled">true</parameter>
<parameter key="debug_disabled">false</parameter>
<parameter key="version" type="string">1</parameter>
<parameter key="integer_one">1</parameter>
<parameter key="pi">3.14</parameter>
<parameter key="collection1" type="collection">
<parameter key="key1">val1</parameter>
<parameter key="key2">val2</parameter>
</parameter>
<parameter key="nested_collection" type="collection">
<parameter key="key">val</parameter>
<parameter key="child_collection" type="collection">
<parameter key="boolean">true</parameter>
<parameter key="float">2.18</parameter>
<parameter key="grandchild_collection" type="collection">
<parameter key="string">something</parameter>
</parameter>
</parameter>
</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"/>
<service id="dummy_private_service" class="Psalm\SymfonyPsalmPlugin\Tests\Fixture\DummyPrivateService" public="false"/>
<service id="public_service_wo_public_attr" class="Foo\Bar"/>
<service id="wronglyNamedService" class="Foo\Bar" public="true" />
</services>
</container>