src/Command/ServerInfo.php
protected function parseRow($row)
    {
        list($k, $v) = explode(':', $row, 2);

        if (preg_match('/^db\d+$/', $k)) {
            $v = $this->parseDatabaseStats($v);
        }

        return array($k, $v);
    }
protected function parseRow($row)
    {
        list($k, $v) = explode(':', $row, 2);

        if (preg_match('/^db\d+$/', $k)) {
            $v = $this->parseDatabaseStats($v);
        }

        return array($k, $v);
    }
protected function parseRow ( $ row ) { list ( $ k , $ v ) = explode ( ':' , $ row , 2 ) ; if ( preg_match ( '/^db\d+$/' , $ k ) ) { $ v = $ this -> parseDatabaseStats ( $ v ) ; } return array ( $ k , $ v ) ; }
Parses a single row of the response and returns the key-value pair.

@param string $row Single row of the response.

@return array
Parses a single row of the response and returns the key - value pair .