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