public function onAction(Event $event) { $params = $event->getParameters(); $params = implode(', ', $params); echo "exec: SampleListener::onAction({$params})"; }
public function onAfterLogin(Event $event) { $params = implode(', ', $event->getParameters()); echo "executed Sample2Listener::onAfterLogin({$params})"; }
function onAfterLogin(Event $event) { $params = $event->getParameters(); $params = implode(', ', $params); echo 'executed after login, with params: ' . $params; }