private function getCategoryTypeOptions() { $return = []; $categoryTypes = CategoryType::select('id', 'title')->get(); foreach ($categoryTypes as $ct) { $return[$ct->id] = $ct->title; } return $return; }