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