public function handle( IEvent $event, $name, IDispatcher $dispatcher )
    {
        if ( $event instanceof BeforeControllerRunEvent )
        {
            return $this->onBeforeAction();
        }
        elseif ( $event instanceof AfterControllerRunEvent )
        {
            return $this->onAfterAction();
        }
    }