code: public function criteria($modelClass, array $parameters, $contentType='text/html')
      {
  
          if ($this->hasHandler($contentType)) {
              return $this->callHandler($modelClass, $parameters, $contentType);
          }
  
          return $this->buildCriteria($modelClass, $parameters);
  
      }
docs: {@inheritdoc}
  
  @param string $modelClass
  @param array $parameters
  @param string $contentType (optional)
  @return \Versatile\Search\Contracts\Criteria