public function getWsdlUrl(CertificationBag $certificationBag, $url = null)
    {
        if ($url) {
            return $url;
        }

        if ($certificationBag->getEnvironment() == CertificationBag::PRODUCTION) {
            return static::PRODUCTION_WSDL;
        }

        return static::INTEGRATION_WSDL;
    }
public function getWsdlUrl(CertificationBag $certificationBag, $url = null)
    {
        if ($url) {
            return $url;
        }

        if ($certificationBag->getEnvironment() == CertificationBag::PRODUCTION) {
            return static::PRODUCTION_WSDL;
        }

        return static::INTEGRATION_WSDL;
    }
public function getWsdlUrl ( CertificationBag $ certificationBag , $ url = null ) { if ( $ url ) { return $ url ; } if ( $ certificationBag -> getEnvironment ( ) == CertificationBag :: PRODUCTION ) { return static :: PRODUCTION_WSDL ; } return static :: INTEGRATION_WSDL ; }
Get the WSDL URL

@param CertificationBag $certificationBag Keys and certificates instance
@param string|null $url WSDL URL
@return string
Get the WSDL URL