public function get($id) { /** @var ArticleAuthor $entity */ $entity = $this->repository->find($id); return $entity; }