private function initRootCertificatePath($demo)
    {
        $rootCertificatePath = self::LIVE_ROOT_CERTIFICATE_PATH;
        if ($demo === true) {
            $rootCertificatePath = self::DEMO_ROOT_CERTIFICATE_PATH;
        }

        $this->setRootCertificatePath($rootCertificatePath);

        return $this;
    }
private function initRootCertificatePath($demo)
    {
        $rootCertificatePath = self::LIVE_ROOT_CERTIFICATE_PATH;
        if ($demo === true) {
            $rootCertificatePath = self::DEMO_ROOT_CERTIFICATE_PATH;
        }

        $this->setRootCertificatePath($rootCertificatePath);

        return $this;
    }
private function initRootCertificatePath ( $ demo ) { $ rootCertificatePath = self :: LIVE_ROOT_CERTIFICATE_PATH ; if ( $ demo === true ) { $ rootCertificatePath = self :: DEMO_ROOT_CERTIFICATE_PATH ; } $ this -> setRootCertificatePath ( $ rootCertificatePath ) ; return $ this ; }
Init root certificate path.

@param boolean $demo Demo flag.

@return $this
Init root certificate path .