Commit fc9c1b7d authored by Andreas Möller's avatar Andreas Möller Committed by Fabien Potencier

Fix: Add missing method visibility in interface excerpts

PSR-2, that's why.
parent 2114f0d9
...@@ -84,9 +84,9 @@ Providers must implement the ``Silex\ServiceProviderInterface``:: ...@@ -84,9 +84,9 @@ Providers must implement the ``Silex\ServiceProviderInterface``::
interface ServiceProviderInterface interface ServiceProviderInterface
{ {
function register(Application $app); public function register(Application $app);
function boot(Application $app); public function boot(Application $app);
} }
This is very straight forward, just create a new class that implements the two This is very straight forward, just create a new class that implements the two
...@@ -165,7 +165,7 @@ Providers must implement the ``Silex\ControllerProviderInterface``:: ...@@ -165,7 +165,7 @@ Providers must implement the ``Silex\ControllerProviderInterface``::
interface ControllerProviderInterface interface ControllerProviderInterface
{ {
function connect(Application $app); public function connect(Application $app);
} }
Here is an example of such a provider:: Here is an example of such a provider::
......
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