return $licences;
} /**
* @param array $data
*
* @return CategoryStruct
*/
public function hydrateCategory($data) { $category =
new CategoryStruct();
$category->
setId($data['categoryId'
]);
$category->
setName($data['name'
]);
$category->
setParentId($data['parentId'
]);
return $category;
} /**
* @param array $data
*/