public function close($replyCode = 0, $replyText = '', $methodSig = array(0, 0))
    {
        $args = new Writer();
        $args->writeShort($replyCode);
        $args->writeShortStr($replyText);
        $args->writeShort($methodSig[0]); // class_id
        $args->writeShort($methodSig[1]); // method_id
        $this->sendMethodFrame(array(10, 60), $args);
        return $this->wait(
            array(
                 "10,61", // Connection.close_ok
            )
        );
    }
public function close($replyCode = 0, $replyText = '', $methodSig = array(0, 0))
    {
        $args = new Writer();
        $args->writeShort($replyCode);
        $args->writeShortStr($replyText);
        $args->writeShort($methodSig[0]); // class_id
        $args->writeShort($methodSig[1]); // method_id
        $this->sendMethodFrame(array(10, 60), $args);
        return $this->wait(
            array(
                 "10,61", // Connection.close_ok
            )
        );
    }
public function close ( $ replyCode = 0 , $ replyText = '' , $ methodSig = array ( 0 , 0 ) ) { $ args = new Writer ( ) ; $ args -> writeShort ( $ replyCode ) ; $ args -> writeShortStr ( $ replyText ) ; $ args -> writeShort ( $ methodSig [ 0 ] ) ; // class_id $ args -> writeShort ( $ methodSig [ 1 ] ) ; // method_id $ this -> sendMethodFrame ( array ( 10 , 60 ) , $ args ) ; return $ this -> wait ( array ( "10,61" , // Connection.close_ok ) ) ; }
request a connection close

@param int    $replyCode
@param string $replyText
@param array  $methodSig

@return mixed|null
request a connection close