src/Ovh/Sms/SmsClient.php
public function getSender($domain, $sender)
    {
        if (!$domain)
            throw new BadMethodCallException('Parameter $domain is missing.');
        if (!$sender)
            throw new BadMethodCallException('Parameter $sender is missing.');
        $sender = urlencode($sender);
        try {
            $r = $this->get('sms/' . $domain . '/senders/' . $sender)->send();
        } catch (\Exception $e) {
            throw new SmsException($e->getMessage(), $e->getCode(), $e);
        }
        return $r->getBody(true);
    }
public function getSender($domain, $sender)
    {
        if (!$domain)
            throw new BadMethodCallException('Parameter $domain is missing.');
        if (!$sender)
            throw new BadMethodCallException('Parameter $sender is missing.');
        $sender = urlencode($sender);
        try {
            $r = $this->get('sms/' . $domain . '/senders/' . $sender)->send();
        } catch (\Exception $e) {
            throw new SmsException($e->getMessage(), $e->getCode(), $e);
        }
        return $r->getBody(true);
    }
Get sender object properties

@param string $domain
@param string $sender
@return string Json
@throws BadMethodCallException
@throws Exception\SmsException