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
120bfa9a
Commit
120bfa9a
authored
Jun 11, 2013
by
Tom Adam
Committed by
Fabien Potencier
Jun 19, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Alter app references in middleware doc
parent
a6dde11a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
doc/middlewares.rst
doc/middlewares.rst
+2
-2
No files found.
doc/middlewares.rst
View file @
120bfa9a
...
...
@@ -95,7 +95,7 @@ Before Middleware
A *before* route middleware is fired just before the route callback, but after
the *before* application middlewares::
$before = function (Request $request
) use (
$app) {
$before = function (Request $request
, Application
$app) {
// ...
};
...
...
@@ -110,7 +110,7 @@ After Middleware
An *after* route middleware is fired just after the route callback, but before
the application *after* application middlewares::
$after = function (Request $request, Response $response
) use (
$app) {
$after = function (Request $request, Response $response
, Application
$app) {
// ...
};
...
...
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