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