$blog->getRouteKey(), 'key' => [ 'public' => $blog->getPublicKey(), 'route' => $blog->getRouteKey(), ], 'category_id' => $blog->category_id, 'title' => $blog->title, 'caption' => $blog->caption, 'description' => $blog->description, 'images' => $blog->images, 'tags' => $blog->tags, 'viewcount' => $blog->viewcount, 'slug' => $blog->slug, 'meta_title' => $blog->meta_title, 'meta_description' => $blog->meta_description, 'meta_keyword' => $blog->meta_keyword, 'published' => $blog->published, 'published_at' => $blog->published_at, 'user_type' => $blog->user_type, 'user_id' => $blog->user_id, 'upload_folder' => $blog->upload_folder, 'deleted_at' => $blog->deleted_at, 'url' => [ 'public' => trans_url('blog/'.$blog->getPublicKey()), 'user' => guard_url('blog/blog/'.$blog->getRouteKey()), ], 'status' => trans('app.'.$blog->status), 'created_at' => format_date($blog->created_at), 'updated_at' => format_date($blog->updated_at), ]; } }