Ojs\ApiBundle\Controller\Admin\IndexRestController::getIndexsAction PHP Метод

getIndexsAction() публичный Метод

Get single Index.
public getIndexsAction ( integer $id ) : array
$id integer the Index id
Результат array
    public function getIndexsAction($id)
    {
        $entity = $this->getOr404($id);
        if (!$this->isGranted('VIEW', $entity)) {
            throw new AccessDeniedException();
        }
        return $entity;
    }