public function create($phoneNumberSid) {
        $data = Values::of(array('PhoneNumberSid' => $phoneNumberSid, ));

        $payload = $this->version->create(
            'POST',
            $this->uri,
            array(),
            $data
        );

        return new PhoneNumberInstance($this->version, $payload, $this->solution['serviceSid']);
    }
public function create($phoneNumberSid) {
        $data = Values::of(array('PhoneNumberSid' => $phoneNumberSid, ));

        $payload = $this->version->create(
            'POST',
            $this->uri,
            array(),
            $data
        );

        return new PhoneNumberInstance($this->version, $payload, $this->solution['serviceSid']);
    }
public function create ( $ phoneNumberSid ) { $ data = Values :: of ( array ( 'PhoneNumberSid' => $ phoneNumberSid , ) ) ; $ payload = $ this -> version -> create ( 'POST' , $ this -> uri , array ( ) , $ data ) ; return new PhoneNumberInstance ( $ this -> version , $ payload , $ this -> solution [ 'serviceSid' ] ) ; }
Create a new PhoneNumberInstance

@param string $phoneNumberSid Phone Number SID for the Phone Number being
added to the Service.
@return PhoneNumberInstance Newly created PhoneNumberInstance
@throws TwilioException When an HTTP error occurs.
Create a new PhoneNumberInstance