LMongo\Eloquent\Model::withTrashed PHP Method

withTrashed() public static method

Get a new query builder that includes soft deletes.
public static withTrashed ( ) : Builder
return Illuminate\Database\Eloquent\Builder
    public static function withTrashed()
    {
        return with(new static())->newQueryWithDeleted();
    }
Model