public function get()
    {
        $exec = $this->getExecutor();

        $exec->setCommand('hostname');
        $exec->run();

        $output = $exec->getOutput();

        return $output['stdout'];
    }
public function get()
    {
        $exec = $this->getExecutor();

        $exec->setCommand('hostname');
        $exec->run();

        $output = $exec->getOutput();

        return $output['stdout'];
    }
public function get ( ) { $ exec = $ this -> getExecutor ( ) ; $ exec -> setCommand ( 'hostname' ) ; $ exec -> run ( ) ; $ output = $ exec -> getOutput ( ) ; return $ output [ 'stdout' ] ; }
returns the current hostname

@return string
returns the current hostname