exception listener, allow easier overloading of the default behavior
This commit is contained in:
parent
85557619ba
commit
c3c9c9ec5b
@ -27,8 +27,8 @@ use Symfony\Component\EventDispatcher\EventSubscriberInterface;
|
|||||||
*/
|
*/
|
||||||
class ExceptionListener implements EventSubscriberInterface
|
class ExceptionListener implements EventSubscriberInterface
|
||||||
{
|
{
|
||||||
private $controller;
|
protected $controller;
|
||||||
private $logger;
|
protected $logger;
|
||||||
|
|
||||||
public function __construct($controller, LoggerInterface $logger = null)
|
public function __construct($controller, LoggerInterface $logger = null)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user