/** * Processes the specified route * @exits * @return null */ public function processRequest() { Actions::trigger("{$this->routeKey}AjaxStart"); $response = call_user_func($this->action); Actions::trigger("{$this->routeKey}AjaxEnd"); echo json_encode($response); die; }