Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
S
Silex
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
common
Silex
Commits
fc9c1b7d
Commit
fc9c1b7d
authored
Nov 30, 2014
by
Andreas Möller
Committed by
Fabien Potencier
Dec 13, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix: Add missing method visibility in interface excerpts
PSR-2, that's why.
parent
2114f0d9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
doc/providers.rst
doc/providers.rst
+3
-3
No files found.
doc/providers.rst
View file @
fc9c1b7d
...
@@ -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::
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment