Ojs\ApiBundle\Controller\Admin\LangRestController::getLangAction PHP Метод

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

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