[FrameworkBundle] Return Event
This commit is contained in:
parent
876cf96452
commit
ca70a351fd
@ -164,7 +164,7 @@ class ContainerAwareEventDispatcher extends EventDispatcher
|
|||||||
{
|
{
|
||||||
$this->lazyLoad($eventName);
|
$this->lazyLoad($eventName);
|
||||||
|
|
||||||
parent::dispatch($eventName, $event);
|
return parent::dispatch($eventName, $event);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getContainer()
|
public function getContainer()
|
||||||
|
@ -47,6 +47,9 @@ class TraceableEventDispatcher extends ContainerAwareEventDispatcher implements
|
|||||||
$this->called = array();
|
$this->called = array();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@inheritdoc}
|
||||||
|
*/
|
||||||
public function dispatch($eventName, Event $event = null)
|
public function dispatch($eventName, Event $event = null)
|
||||||
{
|
{
|
||||||
switch ($eventName) {
|
switch ($eventName) {
|
||||||
@ -87,6 +90,8 @@ class TraceableEventDispatcher extends ContainerAwareEventDispatcher implements
|
|||||||
$this->updateProfile($token);
|
$this->updateProfile($token);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return $event;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user