public function version()
    {
        $this->sendCommand('version');
        $res = fgets($this->conn, 4096);
        $this->checkForError($res);

        return trim($res);
    }
public function version()
    {
        $this->sendCommand('version');
        $res = fgets($this->conn, 4096);
        $this->checkForError($res);

        return trim($res);
    }
public function version ( ) { $ this -> sendCommand ( 'version' ) ; $ res = fgets ( $ this -> conn , 4096 ) ; $ this -> checkForError ( $ res ) ; return trim ( $ res ) ; }
Get the version of Gearman running.

@return string

@see MHlavac\Gearman\Manager::sendCommand()
@see MHlavac\Gearman\Manager::checkForError()
Get the version of Gearman running .