Ojs\ApiBundle\Handler\JournalIssueFileHandler::get PHP 메소드

get() 공개 메소드

Get a IssueFile.
public get ( mixed $id, boolean $normalize = false ) : IssueFile
$id mixed
$normalize boolean
리턴 Ojs\JournalBundle\Entity\IssueFile
    public function get($id, $normalize = false)
    {
        /** @var IssueFile $entity */
        $entity = $this->repository->find($id);
        if (!$normalize) {
            return $entity;
        }
        return $this->apiHelper->normalizeEntity($entity);
    }