code: public function setSites(array $sites)
      {
          $this->sites = array();
          foreach ($sites as $site)
              $this->addSite($site);
          return $this;
      }
docs: Set the list of available sites
  
  @param array $sites The list of sites
  @return Dispatcher Provides fluent interface