public function handle($event)
    {
        $method = $this->getMethodFor($event);

        if (method_exists($this, $method)) {
            return call_user_func([$this, $method], $event);
        }
    }
public function handle($event)
    {
        $method = $this->getMethodFor($event);

        if (method_exists($this, $method)) {
            return call_user_func([$this, $method], $event);
        }
    }
public function handle ( $ event ) { $ method = $ this -> getMethodFor ( $ event ) ; if ( method_exists ( $ this , $ method ) ) { return call_user_func ( [ $ this , $ method ] , $ event ) ; } }
Handle the given event, if a handler exists.

@param object $event
@return mixed
Handle the given event if a handler exists .