$category->getRouteKey(), 'key' => [ 'public' => $category->getPublicKey(), 'route' => $category->getRouteKey(), ], 'title' => $category->title, 'page_id' => $category->page_id, 'url' => [ 'public' => trans_url('newcm/'.$category->getPublicKey()), 'user' => guard_url('newcm/category/'.$category->getRouteKey()), ], 'status' => trans('app.'.$category->status), 'created_at' => format_date($category->created_at), 'updated_at' => format_date($category->updated_at), ]; } }