/** * Выводит сырые данные, без view * * @param $data */ public function renderData($data) { $this->response->data = $data; $this->response->render(); }
public function renderResponse() { $this->response->render(); }