public function findAll();
/** * @{inheritdoc} */ public function get($id = null) { if (null !== $id) { return $this->repository->find($id); } return $this->repository->findAll(); }