src/Service/Number/Cancel.php
public function invoke($country = null, $msisdn = null)
    {
        if (!$country) {
            throw new Exception("\$country parameter cannot be blank");
        }
        if (!$msisdn) {
            throw new Exception("\$msisdn parameter cannot be blank");
        }

        return $this->exec([
            // Nexmo API requires $country value to be uppercase.
            'country' => strtoupper($country),
            'msisdn' => $msisdn,
        ], 'POST');
    }
public function invoke($country = null, $msisdn = null)
    {
        if (!$country) {
            throw new Exception("\$country parameter cannot be blank");
        }
        if (!$msisdn) {
            throw new Exception("\$msisdn parameter cannot be blank");
        }

        return $this->exec([
            // Nexmo API requires $country value to be uppercase.
            'country' => strtoupper($country),
            'msisdn' => $msisdn,
        ], 'POST');
    }
@param string     $country
@param string     $msisdn

@return boolean
@throws Exception