Commit e291d097 authored by Fabien Potencier's avatar Fabien Potencier

minor #1374 fixed typo (fabpot)

This PR was merged into the 2.0.x-dev branch.

Discussion
----------

fixed typo

Commits
-------

ae9d5b2f fixed typo
parents ffcf8bae ae9d5b2f
...@@ -103,11 +103,11 @@ application which then may make use of other services and parameters. ...@@ -103,11 +103,11 @@ application which then may make use of other services and parameters.
and Silex work, but may allow your provider to be used outside of Silex. and Silex work, but may allow your provider to be used outside of Silex.
Optionally, your service provider can implement the Optionally, your service provider can implement the
``Silex\Api\BootableServiceProviderInterface``. A BootableServiceProvider must ``Silex\Api\BootableProviderInterface``. A bootable provider must
implement the ``boot()`` method, with which you can configure the application, just implement the ``boot()`` method, with which you can configure the application, just
before it handles a request:: before it handles a request::
interface BootableServiceProviderInterface interface BootableProviderInterface
{ {
function boot(Application $app); function boot(Application $app);
} }
...@@ -134,7 +134,7 @@ Here is an example of such a provider:: ...@@ -134,7 +134,7 @@ Here is an example of such a provider::
use Symfony\Component\HttpKernel\KernelEvents; use Symfony\Component\HttpKernel\KernelEvents;
use Symfony\Component\HttpKernel\Event\FilterResponseEvent; use Symfony\Component\HttpKernel\Event\FilterResponseEvent;
class HelloServiceProvider implements ServiceProviderInterface, BootableServiceProviderInterface, EventListenerProviderInterface class HelloServiceProvider implements ServiceProviderInterface, BootableProviderInterface, EventListenerProviderInterface
{ {
public function register(Container $app) public function register(Container $app)
{ {
......
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