public function setSites(array $sites)
    {
        $this->sites = array();
        foreach ($sites as $site)
            $this->addSite($site);
        return $this;
    }
public function setSites(array $sites)
    {
        $this->sites = array();
        foreach ($sites as $site)
            $this->addSite($site);
        return $this;
    }
public function setSites ( array $ sites ) { $ this -> sites = array ( ) ; foreach ( $ sites as $ site ) $ this -> addSite ( $ site ) ; return $ this ; }
Set the list of available sites

@param array $sites The list of sites
@return Dispatcher Provides fluent interface
Set the list of available sites