public function addProvider($host, $class, array $params = array())
    {
        $host = preg_replace('~^(?:www)\.~i', '', strtolower($host));
        $this->services[$host] = $class;
        $this->customParams[$host] = $params;
    }
public function addProvider($host, $class, array $params = array())
    {
        $host = preg_replace('~^(?:www)\.~i', '', strtolower($host));
        $this->services[$host] = $class;
        $this->customParams[$host] = $params;
    }
public function addProvider ( $ host , $ class , array $ params = array ( ) ) { $ host = preg_replace ( '~^(?:www)\.~i' , '' , strtolower ( $ host ) ) ; $ this -> services [ $ host ] = $ class ; $ this -> customParams [ $ host ] = $ params ; }
Adds a new Provider into the service map

@param string $host The host for the map
@param string|object $class The class or object that should manage the provider
@param array $params Custom parameters that should be sent in the url for this Provider
@return void
Adds a new Provider into the service map