Commit a01b32b1 authored by Fabien Potencier's avatar Fabien Potencier

renamed KernelServiceProvider to HttpKernelServiceProvider

parent b65d9315
...@@ -31,7 +31,7 @@ use Silex\Api\BootableProviderInterface; ...@@ -31,7 +31,7 @@ use Silex\Api\BootableProviderInterface;
use Silex\Api\EventListenerProviderInterface; use Silex\Api\EventListenerProviderInterface;
use Silex\Api\ControllerProviderInterface; use Silex\Api\ControllerProviderInterface;
use Silex\Provider\RoutingServiceProvider; use Silex\Provider\RoutingServiceProvider;
use Silex\Provider\KernelServiceProvider; use Silex\Provider\HttpKernelServiceProvider;
/** /**
* The Silex framework class. * The Silex framework class.
...@@ -65,7 +65,7 @@ class Application extends Container implements HttpKernelInterface, TerminableIn ...@@ -65,7 +65,7 @@ class Application extends Container implements HttpKernelInterface, TerminableIn
$this['charset'] = 'UTF-8'; $this['charset'] = 'UTF-8';
$this['logger'] = null; $this['logger'] = null;
$this->register(new KernelServiceProvider()); $this->register(new HttpKernelServiceProvider());
$this->register(new RoutingServiceProvider()); $this->register(new RoutingServiceProvider());
foreach ($values as $key => $value) { foreach ($values as $key => $value) {
......
...@@ -17,7 +17,7 @@ use Symfony\Component\HttpFoundation\RequestStack; ...@@ -17,7 +17,7 @@ use Symfony\Component\HttpFoundation\RequestStack;
use Symfony\Component\HttpKernel\EventListener\ResponseListener; use Symfony\Component\HttpKernel\EventListener\ResponseListener;
use Symfony\Component\HttpKernel\HttpKernel; use Symfony\Component\HttpKernel\HttpKernel;
class KernelServiceProvider implements ServiceProviderInterface, EventListenerProviderInterface class HttpKernelServiceProvider implements ServiceProviderInterface, EventListenerProviderInterface
{ {
/** /**
* {@inheritdoc} * {@inheritdoc}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment