Commit 50150276 authored by Dave Marshall's avatar Dave Marshall

Restricted visibility

parent c86b6f59
...@@ -21,8 +21,8 @@ use Symfony\Component\HttpKernel\Event\GetResponseForControllerResultEvent; ...@@ -21,8 +21,8 @@ use Symfony\Component\HttpKernel\Event\GetResponseForControllerResultEvent;
*/ */
class ViewListenerWrapper class ViewListenerWrapper
{ {
protected $app; private $app;
protected $callback; private $callback;
/** /**
* Constructor. * Constructor.
...@@ -54,7 +54,7 @@ class ViewListenerWrapper ...@@ -54,7 +54,7 @@ class ViewListenerWrapper
} }
} }
protected function shouldRun($callback, $controllerResult) private function shouldRun($callback, $controllerResult)
{ {
if (is_array($callback)) { if (is_array($callback)) {
$callbackReflection = new \ReflectionMethod($callback[0], $callback[1]); $callbackReflection = new \ReflectionMethod($callback[0], $callback[1]);
......
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