Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

ProfilerController is not a service anymore

  • Loading branch information...
commit 45aa9529c14bf426266d6f63b66d4cf403939456 1 parent f94b84a
Benjamin Grandfond benja-M-1 authored
3  DependencyInjection/DoctrineExtension.php
View
@@ -50,9 +50,6 @@ public function load(array $configs, ContainerBuilder $container)
if (!empty($config['orm'])) {
$this->ormLoad($config['orm'], $container);
}
-
- $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
- $loader->load('profiler.xml');
}
/**
18 Resources/config/profiler.xml
View
@@ -1,18 +0,0 @@
-<?xml version="1.0" ?>
-
-<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 http://symfony.com/schema/dic/services/services-1.0.xsd">
-
- <parameters>
- <parameter key="doctrine.controller.profiler.class">Doctrine\Bundle\DoctrineBundle\Controller\ProfilerController</parameter>
- </parameters>
-
- <services>
- <service id="doctrine.controller.profiler" class="%doctrine.controller.profiler.class%">
- <call method="setContainer">
- <argument type="service" id="service_container"/>
- </call>
- </service>
- </services>
-</container>
2  Resources/config/routing/profiler.xml
View
@@ -5,7 +5,7 @@
xsi:schemaLocation="http://symfony.com/schema/routing http://symfony.com/schema/routing/routing-1.0.xsd">
<route id="_profiler_doctrine" pattern="/explain/{token}/{connectionName}/{query}">
- <default key="_controller">doctrine.controller.profiler:explainAction</default>
+ <default key="_controller">DoctrineBundle:Profiler:explain</default>
</route>
</routes>
Please sign in to comment.
Something went wrong with that request. Please try again.