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
b4446482
Commit
b4446482
authored
May 05, 2015
by
Dave Marshall
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document as mixed, may be a string intended to be resolved from the CallbackResolver
parent
f2724fd2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
src/Silex/Application.php
src/Silex/Application.php
+3
-3
src/Silex/ViewListenerWrapper.php
src/Silex/ViewListenerWrapper.php
+1
-1
No files found.
src/Silex/Application.php
View file @
b4446482
...
@@ -412,9 +412,9 @@ class Application extends \Pimple implements HttpKernelInterface, TerminableInte
...
@@ -412,9 +412,9 @@ class Application extends \Pimple implements HttpKernelInterface, TerminableInte
* an instance of Response. When this occurs, all suitable handlers will be
* an instance of Response. When this occurs, all suitable handlers will be
* called, until one returns a Response object.
* called, until one returns a Response object.
*
*
* @param
callable
$callback View handler callback
* @param
mixed
$callback View handler callback
* @param int
$priority The higher this value, the earlier an event
* @param int $priority The higher this value, the earlier an event
*
listener will be triggered in the chain (defaults to 0)
* listener will be triggered in the chain (defaults to 0)
*/
*/
public
function
view
(
$callback
,
$priority
=
0
)
public
function
view
(
$callback
,
$priority
=
0
)
{
{
...
...
src/Silex/ViewListenerWrapper.php
View file @
b4446482
...
@@ -28,7 +28,7 @@ class ViewListenerWrapper
...
@@ -28,7 +28,7 @@ class ViewListenerWrapper
* Constructor.
* Constructor.
*
*
* @param Application $app An Application instance
* @param Application $app An Application instance
* @param
callable
$callback
* @param
mixed
$callback
*/
*/
public
function
__construct
(
Application
$app
,
$callback
)
public
function
__construct
(
Application
$app
,
$callback
)
{
{
...
...
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