private function initUrl($demo)
    {
        $url = self::LIVE_URL;
        if ($demo === true) {
            $url = self::DEMO_URL;
        }

        $this->setUrl($url);

        return $this;
    }
private function initUrl($demo)
    {
        $url = self::LIVE_URL;
        if ($demo === true) {
            $url = self::DEMO_URL;
        }

        $this->setUrl($url);

        return $this;
    }
private function initUrl ( $ demo ) { $ url = self :: LIVE_URL ; if ( $ demo === true ) { $ url = self :: DEMO_URL ; } $ this -> setUrl ( $ url ) ; return $ this ; }
Init URL to connect to.

@param boolean $demo Demo flag.

@return $this
Init URL to connect to .