protected function processVersion(Buffer $buffer)
    {

        // Decode into items
        $items = $this->decode($buffer);

        // Set the result to a new result instance
        $result = new Result();

        $result->add('version', $items[2]);

        unset($buffer, $items);

        return $result->fetch();
    }
protected function processVersion(Buffer $buffer)
    {

        // Decode into items
        $items = $this->decode($buffer);

        // Set the result to a new result instance
        $result = new Result();

        $result->add('version', $items[2]);

        unset($buffer, $items);

        return $result->fetch();
    }
protected function processVersion ( Buffer $ buffer ) { // Decode into items $ items = $ this -> decode ( $ buffer ) ; // Set the result to a new result instance $ result = new Result ( ) ; $ result -> add ( 'version' , $ items [ 2 ] ) ; unset ( $ buffer , $ items ) ; return $ result -> fetch ( ) ; }
Process the server version

@param \GameQ\Buffer $buffer

@return array
Process the server version