protected function useWithTrashed(Builder $query)
    {
        if ($this->withTrashed && $query->getMacro('withTrashed') !== null) {
            return $query->withTrashed();
        }

        return $query;
    }
protected function useWithTrashed(Builder $query)
    {
        if ($this->withTrashed && $query->getMacro('withTrashed') !== null) {
            return $query->withTrashed();
        }

        return $query;
    }
protected function useWithTrashed ( Builder $ query ) { if ( $ this -> withTrashed && $ query -> getMacro ( 'withTrashed' ) !== null ) { return $ query -> withTrashed ( ) ; } return $ query ; }
Return trashed models with query if told so

@param  \Nova\Database\ORM\Builder  $query
@return \Nova\Database\ORM\Builder
Return trashed models with query if told so