Ojs\ApiBundle\Controller\Admin\JournalRestController::getJournalAction PHP Method

getJournalAction() public method

Get single Journal.
public getJournalAction ( integer $id ) : array
$id integer the Journal id
return array
    public function getJournalAction($id)
    {
        $entity = $this->getOr404($id, true);
        if (!$this->isGranted('VIEW', $entity)) {
            throw new AccessDeniedException();
        }
        return $entity;
    }