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