src/Klarna.php
public function setConfig(&$config)
    {
        $this->_checkConfig($config);

        $this->config = $config;
        $this->init();
    }
public function setConfig(&$config)
    {
        $this->_checkConfig($config);

        $this->config = $config;
        $this->init();
    }
public function setConfig ( & $ config ) { $ this -> _checkConfig ( $ config ) ; $ this -> config = $ config ; $ this -> init ( ) ; }
Sets and initializes this Klarna object using the supplied config object.

@param KlarnaConfig &$config Config object.

@see KlarnaConfig
@throws  KlarnaException
@return  void
Sets and initializes this Klarna object using the supplied config object .