code: public function setConfig(Dictionary $config)
      {
          $this->config = $config;
          $this->configureSites();
          $this->setVariable('config', $config);
          return $this;
      }
docs: Set the configuration dictionary used for config
  @param Dictionary $config The configuration
  @return Dispatcher Provides fluent interface