original_string: private function getDistinctReferrersMetrics($date = false)
      {
          $propertyToAccessorMapping = array(
              'numberDistinctSearchEngines'  => 'getNumberOfDistinctSearchEngines',
              'numberDistinctSocialNetworks' => 'getNumberOfDistinctSocialNetworks',
              'numberDistinctKeywords'       => 'getNumberOfDistinctKeywords',
              'numberDistinctWebsites'       => 'getNumberOfDistinctWebsites',
              'numberDistinctWebsitesUrls'   => 'getNumberOfDistinctWebsitesUrls',
              'numberDistinctCampaigns'      => 'getNumberOfDistinctCampaigns',
          );
  
          $result = array();
          foreach ($propertyToAccessorMapping as $property => $method) {
              $result[$property] = $this->getNumericValue('Referrers.' . $method, $date);
          }
          return $result;
      }
code: private function getDistinctReferrersMetrics($date = false)
      {
          $propertyToAccessorMapping = array(
              'numberDistinctSearchEngines'  => 'getNumberOfDistinctSearchEngines',
              'numberDistinctSocialNetworks' => 'getNumberOfDistinctSocialNetworks',
              'numberDistinctKeywords'       => 'getNumberOfDistinctKeywords',
              'numberDistinctWebsites'       => 'getNumberOfDistinctWebsites',
              'numberDistinctWebsitesUrls'   => 'getNumberOfDistinctWebsitesUrls',
              'numberDistinctCampaigns'      => 'getNumberOfDistinctCampaigns',
          );
  
          $result = array();
          foreach ($propertyToAccessorMapping as $property => $method) {
              $result[$property] = $this->getNumericValue('Referrers.' . $method, $date);
          }
          return $result;
      }
code_tokens: private function getDistinctReferrersMetrics ( $ date = false ) { $ propertyToAccessorMapping = array ( 'numberDistinctSearchEngines' => 'getNumberOfDistinctSearchEngines' , 'numberDistinctSocialNetworks' => 'getNumberOfDistinctSocialNetworks' , 'numberDistinctKeywords' => 'getNumberOfDistinctKeywords' , 'numberDistinctWebsites' => 'getNumberOfDistinctWebsites' , 'numberDistinctWebsitesUrls' => 'getNumberOfDistinctWebsitesUrls' , 'numberDistinctCampaigns' => 'getNumberOfDistinctCampaigns' , ) ; $ result = array ( ) ; foreach ( $ propertyToAccessorMapping as $ property => $ method ) { $ result [ $ property ] = $ this -> getNumericValue ( 'Referrers.' . $ method , $ date ) ; } return $ result ; }
docstring: Returns an array containing the number of distinct referrers for each
  referrer type.
  
  @param bool|string $date The date to use when getting metrics. If false, the
  date query param is used.
  @return array The metrics.
docstring_tokens: Returns an array containing the number of distinct referrers for each referrer type .