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