/** * Returns the GET response * * @return array|\PSX\Record\RecordInterface */ protected function doGet() { return $this->logService->get((int) $this->getUriFragment('log_id')); }
/** * Returns the GET response * * @return array|\PSX\Record\RecordInterface */ protected function doGet() { return $this->logService->getAll($this->getParameter('startIndex', Validate::TYPE_INTEGER) ?: null, QueryFilter::create($this->getParameters())); }