/** * Returns all products * * * @return \Babydressing\Domain\categorie|throws an exception if no matching categorie is found */ public function getAll() { $categorie = new categorie(); $categorie->setnom('Toutes'); return $categorie; }