/** * Fetches as a list * * @return array */ public function fetchList() { return ArrayUtils::arrayList($this->categoryMapper->fetchList(), 'id', 'name'); }