public function setProfile($config)
    {
        if (!is_array($config)) {
            $config = (string)$config;
        }
        $this->_applyConfig($config);

        return $this;
    }
public function setProfile($config)
    {
        if (!is_array($config)) {
            $config = (string)$config;
        }
        $this->_applyConfig($config);

        return $this;
    }
public function setProfile ( $ config ) { if ( ! is_array ( $ config ) ) { $ config = ( string ) $ config ; } $ this -> _applyConfig ( $ config ) ; return $ this ; }
Sets the configuration profile to use for this instance.

@param string|array $config String with configuration name, or
an array with config.
@return $this
Sets the configuration profile to use for this instance .