/** * Creates an Categorie object based on a DB row. * * @param array $row The DB row containing Categorie data. * @return \BuyOrgans\Domain\Categorie */ protected function buildDomainObject($row) { $categorie = new categorie(); $categorie->setId($row['cat_id']); $categorie->setTitle($row['cat_title']); $categorie->setImage($row['cat_img']); return $categorie; }