/** * @return ArrayCollection<Category> */ public function getAll() { return $this->repository->findAll(); }