src/Replies/Reply.php
public function remove($key)
    {
        if ($key == 'message') {
            $this->message = '';
        }

        if ($key == 'exception') {
            $this->exception = null;
        }

        if (array_key_exists($key, $this->payload)) {
            unset($this->payload[$key]);
        }
    }
public function remove($key)
    {
        if ($key == 'message') {
            $this->message = '';
        }

        if ($key == 'exception') {
            $this->exception = null;
        }

        if (array_key_exists($key, $this->payload)) {
            unset($this->payload[$key]);
        }
    }
public function remove ( $ key ) { if ( $ key == 'message' ) { $ this -> message = '' ; } if ( $ key == 'exception' ) { $ this -> exception = null ; } if ( array_key_exists ( $ key , $ this -> payload ) ) { unset ( $ this -> payload [ $ key ] ) ; } }
Unset a payload array key => value
@param  string $key
@return void
Unset a payload array key = > value