Commit ae9d5b2f authored by Fabien Potencier's avatar Fabien Potencier

fixed typo

parent 163be526
......@@ -96,11 +96,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.
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
before it handles a request::
interface BootableServiceProviderInterface
interface BootableProviderInterface
{
function boot(Application $app);
}
......@@ -127,7 +127,7 @@ Here is an example of such a provider::
use Symfony\Component\HttpKernel\KernelEvents;
use Symfony\Component\HttpKernel\Event\FilterResponseEvent;
class HelloServiceProvider implements ServiceProviderInterface, BootableServiceProviderInterface, EventListenerProviderInterface
class HelloServiceProvider implements ServiceProviderInterface, BootableProviderInterface, EventListenerProviderInterface
{
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