public function create($data) {
        $data = Values::of(array('Data' => Serialize::jsonObject($data), ));

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

        return new SyncListItemInstance(
            $this->version,
            $payload,
            $this->solution['serviceSid'],
            $this->solution['listSid']
        );
    }
public function create($data) {
        $data = Values::of(array('Data' => Serialize::jsonObject($data), ));

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

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

@param array $data The data
@return SyncListItemInstance Newly created SyncListItemInstance
@throws TwilioException When an HTTP error occurs.
Create a new SyncListItemInstance