public function getFilesAction(ParamFetcherInterface $paramFetcher)
{
$journal = $this->get('ojs.journal_service')->getSelectedJournal();
if (!$this->isGranted('VIEW', $journal, 'issues')) {
throw new AccessDeniedException();
}
$issueFileHandler = $this->container->get('ojs_api.journal_issue_file.handler');
$offset = $paramFetcher->get('offset');
$offset = null === $offset ? 0 : $offset;
$limit = $paramFetcher->get('limit');
return $issueFileHandler->all($limit, $offset);
}