original_string: public function getRank($url)
      {
          Piwik::checkUserHasSomeViewAccess();
  
          $metricProvider = new ProviderCache(new Aggregator());
          $domain = Url::getHostFromUrl($url);
          $metrics = $metricProvider->getMetrics($domain);
  
          return $this->toDataTable($metrics);
      }
code: public function getRank($url)
      {
          Piwik::checkUserHasSomeViewAccess();
  
          $metricProvider = new ProviderCache(new Aggregator());
          $domain = Url::getHostFromUrl($url);
          $metrics = $metricProvider->getMetrics($domain);
  
          return $this->toDataTable($metrics);
      }
code_tokens: public function getRank ( $ url ) { Piwik :: checkUserHasSomeViewAccess ( ) ; $ metricProvider = new ProviderCache ( new Aggregator ( ) ) ; $ domain = Url :: getHostFromUrl ( $ url ) ; $ metrics = $ metricProvider -> getMetrics ( $ domain ) ; return $ this -> toDataTable ( $ metrics ) ; }
docstring: Returns SEO statistics for a URL.
  
  @param string $url URL to request SEO stats for
  @return DataTable
docstring_tokens: Returns SEO statistics for a URL .