Hootlex\Moderation\ModerationQueryBuilder::withRejected PHP Method

withRejected() public static method

Get a new query builder that includes rejected resources.
public static withRejected ( ) : Builder | static
return Illuminate\Database\Eloquent\Builder | static
    public static function withRejected()
    {
        return (new static())->newQueryWithoutScope(new ModerationScope())->withRejected();
    }