public function changeName($name)
    {
        return new Contact(
            Connection::sendCurlRequest(Connection::URL_CONTACTS . '/' . $this->iden, 'POST', ['name' => $name], true,
                $this->apiKey), $this->apiKey
        );
    }
public function changeName($name)
    {
        return new Contact(
            Connection::sendCurlRequest(Connection::URL_CONTACTS . '/' . $this->iden, 'POST', ['name' => $name], true,
                $this->apiKey), $this->apiKey
        );
    }
public function changeName ( $ name ) { return new Contact ( Connection :: sendCurlRequest ( Connection :: URL_CONTACTS . '/' . $ this -> iden , 'POST' , [ 'name' => $ name ] , true , $ this -> apiKey ) , $ this -> apiKey ) ; }
Change the contact's name.

@param string $name New name.

@return Contact The same contact with a different name.
@throws Exceptions\ConnectionException
Change the contact s name .