2010-02-17 13:54:36 +00:00
|
|
|
<?xml version="1.0" ?>
|
|
|
|
|
2011-03-06 11:40:06 +00:00
|
|
|
<container xmlns="http://symfony.com/schema/dic/services"
|
2010-02-17 13:54:36 +00:00
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
2011-03-06 11:40:06 +00:00
|
|
|
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
|
2010-02-17 13:54:36 +00:00
|
|
|
|
2010-06-11 09:06:44 +01:00
|
|
|
<parameters>
|
2011-03-13 18:16:56 +00:00
|
|
|
<parameter key="event_dispatcher.class">Symfony\Bundle\FrameworkBundle\ContainerAwareEventDispatcher</parameter>
|
2011-01-17 22:28:59 +00:00
|
|
|
<parameter key="http_kernel.class">Symfony\Bundle\FrameworkBundle\HttpKernel</parameter>
|
2010-09-15 19:49:16 +01:00
|
|
|
<parameter key="error_handler.class">Symfony\Component\HttpKernel\Debug\ErrorHandler</parameter>
|
2011-03-26 07:37:10 +00:00
|
|
|
<parameter key="filesystem.class">Symfony\Component\HttpKernel\Util\Filesystem</parameter>
|
2011-01-24 10:16:22 +00:00
|
|
|
<parameter key="cache_warmer.class">Symfony\Component\HttpKernel\CacheWarmer\CacheWarmerAggregate</parameter>
|
2011-01-27 13:26:49 +00:00
|
|
|
<parameter key="cache_warmer.autoloader_map.class">Symfony\Bundle\FrameworkBundle\CacheWarmer\ClassMapCacheWarmer</parameter>
|
2011-02-10 15:15:51 +00:00
|
|
|
<parameter key="file_locator.class">Symfony\Component\HttpKernel\Config\FileLocator</parameter>
|
2010-06-11 09:06:44 +01:00
|
|
|
</parameters>
|
2010-02-17 13:54:36 +00:00
|
|
|
|
2010-06-11 09:06:44 +01:00
|
|
|
<services>
|
2011-03-13 18:16:56 +00:00
|
|
|
<service id="event_dispatcher" class="%event_dispatcher.class%">
|
2011-01-23 17:02:16 +00:00
|
|
|
<argument type="service" id="service_container" />
|
2010-06-11 09:06:44 +01:00
|
|
|
</service>
|
2010-02-17 13:54:36 +00:00
|
|
|
|
2011-04-01 09:34:13 +01:00
|
|
|
<service id="error_handler" class="%error_handler.class%">
|
2011-03-30 16:02:38 +01:00
|
|
|
<argument /> <!-- level (null by default) -->
|
2010-06-11 09:06:44 +01:00
|
|
|
</service>
|
2010-02-17 13:54:36 +00:00
|
|
|
|
2010-06-11 09:06:44 +01:00
|
|
|
<service id="http_kernel" class="%http_kernel.class%">
|
2011-03-13 18:16:56 +00:00
|
|
|
<argument type="service" id="event_dispatcher" />
|
2011-01-17 22:28:59 +00:00
|
|
|
<argument type="service" id="service_container" />
|
2010-07-22 18:57:45 +01:00
|
|
|
<argument type="service" id="controller_resolver" />
|
2010-06-11 09:06:44 +01:00
|
|
|
</service>
|
2010-02-17 13:54:36 +00:00
|
|
|
|
2011-01-24 10:16:22 +00:00
|
|
|
<service id="cache_warmer" class="%cache_warmer.class%">
|
|
|
|
<argument type="collection" />
|
|
|
|
</service>
|
|
|
|
|
2011-01-27 13:26:49 +00:00
|
|
|
<service id="cache_warmer.autoload_map" class="%cache_warmer.autoloader_map.class%" public="false">
|
|
|
|
<tag name="kernel.cache_warmer" />
|
|
|
|
<argument type="service" id="service_container" />
|
|
|
|
</service>
|
|
|
|
|
2011-01-23 10:19:16 +00:00
|
|
|
<!--
|
|
|
|
If you want to change the Request class, modify the code in
|
|
|
|
your front controller (app.php) so that it passes an instance of
|
|
|
|
YourRequestClass to the Kernel.
|
|
|
|
This service definition only defines the scope of the request.
|
|
|
|
It is used to check references scope.
|
|
|
|
-->
|
2011-01-23 11:06:23 +00:00
|
|
|
<service id="request" scope="request" synthetic="true" />
|
2011-01-23 10:19:16 +00:00
|
|
|
|
2011-01-13 15:34:41 +00:00
|
|
|
<service id="filesystem" class="%filesystem.class%"></service>
|
2011-02-10 15:15:51 +00:00
|
|
|
|
|
|
|
<service id="file_locator" class="%file_locator.class%">
|
|
|
|
<argument type="service" id="kernel" />
|
|
|
|
</service>
|
2010-06-11 09:06:44 +01:00
|
|
|
</services>
|
2010-02-17 13:54:36 +00:00
|
|
|
</container>
|