'staff_1', 'requestData' => [ 'page' => [ 'validation' => DataValidator::numeric(), 'error' => ERRORS::INVALID_PAGE ] ] ]; } public function handler() { $page =Controller::request('page'); $logList = Log::find('LIMIT ? OFFSET ?', [10, 10*($page-1)+1]); Response::respondSuccess($logList->toArray()); } }