protected function addWithArchived(Builder $builder): void
    {
        $builder->macro('withArchived', function (Builder $builder) {
            return $builder->withoutGlobalScope($this);
        });
    }
protected function addWithArchived(Builder $builder): void
    {
        $builder->macro('withArchived', function (Builder $builder) {
            return $builder->withoutGlobalScope($this);
        });
    }
protected function addWithArchived ( Builder $ builder ) : void { $ builder -> macro ( 'withArchived' , function ( Builder $ builder ) { return $ builder -> withoutGlobalScope ( $ this ) ; } ) ; }
Add the `withArchived` extension to the builder.

@param \Illuminate\Database\Eloquent\Builder $builder
@return void
Add the withArchived extension to the builder .