request->userInfo) && $this->request->userInfo) { $this->userInfo = $this->request->userInfo; $this->userId = $this->request->userInfo['user_id']; } } public function getPage() { $page = $this->request->get('page', 1); $limit = $this->request->get('limit', 15); return [$page, $limit]; } }