Add the `withoutNotAccepted` extension to the builder.

@param \Illuminate\Database\Eloquent\Builder $builder
@return void
326995
protected function addWithoutNotAccepted(Builder $builder): void
    {
        $builder->macro('withoutNotAccepted', function (Builder $builder) {
            return $builder->withoutGlobalScope($this)->whereNotNull('accepted_at');
        });
    }
1370651
protected function addWithClosed(Builder $builder): void
    {
        $builder->macro('withClosed', function (Builder $builder) {
            return $builder->withoutGlobalScope($this);
        });
    }
77179
protected function addWithoutDrafted(Builder $builder): void
    {
        $builder->macro('withoutDrafted', function (Builder $builder) {
            return $builder->withoutGlobalScope($this)->where('is_drafted', 0);
        });
    }
534852
protected function addVerify(Builder $builder): void
    {
        $builder->macro('verify', function (Builder $builder) {
            $builder->withNotVerified();

            return $builder->update(['is_verified' => 1]);
        });
    }
274086
protected function addWithNotPublished(Builder $builder): void
    {
        $builder->macro('withNotPublished', function (Builder $builder) {
            return $builder->withoutGlobalScope($this);
        });
    }
461324
protected function addUndoPublish(Builder $builder): void
    {
        $builder->macro('undoPublish', function (Builder $builder) {
            return $builder->update(['is_published' => 0]);
        });
    }
720121
protected function addWithoutNotKept(Builder $builder): void
    {
        $builder->macro('withoutNotKept', function (Builder $builder) {
            return $builder->withoutGlobalScope($this)->where('is_kept', 1);
        });
    }
198194
protected function addUndoVerify(Builder $builder): void
    {
        $builder->macro('undoVerify', function (Builder $builder) {
            return $builder->update(['verified_at' => null]);
        });
    }
143107
protected function addOnlyExpired(Builder $builder): void
    {
        $builder->macro('onlyExpired', function (Builder $builder) {
            return $builder->withoutGlobalScope($this)->where('is_expired', 1);
        });
    }
23062
protected function addOnlyNotInvited(Builder $builder): void
    {
        $builder->macro('onlyNotInvited', function (Builder $builder) {
            return $builder->withoutGlobalScope($this)->where('is_invited', 0);
        });
    }
280939
protected function addApprove(Builder $builder): void
    {
        $builder->macro('approve', function (Builder $builder) {
            $builder->withNotApproved();

            return $builder->update(['approved_at' => Date::now()]);
        });
    }
45957
protected function addOnlyNotAccepted(Builder $builder): void
    {
        $builder->macro('onlyNotAccepted', function (Builder $builder) {
            return $builder->withoutGlobalScope($this)->whereNull('accepted_at');
        });
    }
492248
protected function addWithoutBanned(Builder $builder): void
    {
        $builder->macro('withoutBanned', function (Builder $builder) {
            return $builder->withoutGlobalScope($this)->whereNull('banned_at');
        });
    }
857472
protected function addOnlyNotAccepted(Builder $builder): void
    {
        $builder->macro('onlyNotAccepted', function (Builder $builder) {
            return $builder->withoutGlobalScope($this)->where('is_accepted', 0);
        });
    }
343772
protected function addOnlyNotVerified(Builder $builder): void
    {
        $builder->macro('onlyNotVerified', function (Builder $builder) {
            return $builder->withoutGlobalScope($this)->whereNull('verified_at');
        });
    }
1132261
protected function addOnlyArchived(Builder $builder): void
    {
        $builder->macro('onlyArchived', function (Builder $builder) {
            return $builder->withoutGlobalScope($this)->whereNotNull('archived_at');
        });
    }
885467
protected function addWithTrashed(Builder $builder)
    {
        $builder->macro('withTrashed', function (Builder $builder) {
            return $builder->withoutGlobalScope($this);
        });
    }