original_string: protected function getQueryBuilderForNonCmsModelClass($modelClass)
      {
          if ( ! is_a($modelClass, Model::class, true)) {
              // @codeCoverageIgnoreStart
              throw new UnexpectedValueException("{$modelClass} is not an Eloquent model");
              // @codeCoverageIgnoreEnd
          }
  
          /** @var Model $model */
          $model = new $modelClass;
  
          return $model::query();
      }
code: protected function getQueryBuilderForNonCmsModelClass($modelClass)
      {
          if ( ! is_a($modelClass, Model::class, true)) {
              // @codeCoverageIgnoreStart
              throw new UnexpectedValueException("{$modelClass} is not an Eloquent model");
              // @codeCoverageIgnoreEnd
          }
  
          /** @var Model $model */
          $model = new $modelClass;
  
          return $model::query();
      }
code_tokens: protected function getQueryBuilderForNonCmsModelClass ( $ modelClass ) { if ( ! is_a ( $ modelClass , Model :: class , true ) ) { // @codeCoverageIgnoreStart throw new UnexpectedValueException ( "{$modelClass} is not an Eloquent model" ) ; // @codeCoverageIgnoreEnd } /** @var Model $model */ $ model = new $ modelClass ; return $ model :: query ( ) ; }
docstring: Returns a query builder instance for a given model class.
  
  @param string $modelClass
  @return \Illuminate\Database\Eloquent\Builder
docstring_tokens: Returns a query builder instance for a given model class .