private function init()
    {
        if(!isset($this->config)) {
            $this->config = Config::getInstance();
            $this->client = new Client(
                $this->generateClientConfiguration()
            );
        }
    }
private function init()
    {
        if(!isset($this->config)) {
            $this->config = Config::getInstance();
            $this->client = new Client(
                $this->generateClientConfiguration()
            );
        }
    }
private function init ( ) { if ( ! isset ( $ this -> config ) ) { $ this -> config = Config :: getInstance ( ) ; $ this -> client = new Client ( $ this -> generateClientConfiguration ( ) ) ; } }
Set the actual config instance, based on it creates a client instance
Set the actual config instance based on it creates a client instance