original_string: protected function serverInfoSoftware()
      {
          $linfo = $this->linfo->getParser();
  
          $os = $this->ifExists($linfo->getOS());
          $kernel = $this->ifExists($linfo->getKernel());
          $arc = $this->ifExists($linfo->getCPUArchitecture());
          $webserver = $this->ifExists($linfo->getWebService());
          $php = $this->ifExists($linfo->getPhpVersion());
  
          $distro = '';
          if (method_exists($linfo, 'getDistro')) {
              $distro = $this->getDistroString(
                  $this->ifExists($linfo->getDistro())
              );
          }
  
          $this->results['server']['software'] = compact(
              'os', 'distro', 'kernel', 'arc', 'webserver', 'php'
          );
  
          return $this;
      }
code: protected function serverInfoSoftware()
      {
          $linfo = $this->linfo->getParser();
  
          $os = $this->ifExists($linfo->getOS());
          $kernel = $this->ifExists($linfo->getKernel());
          $arc = $this->ifExists($linfo->getCPUArchitecture());
          $webserver = $this->ifExists($linfo->getWebService());
          $php = $this->ifExists($linfo->getPhpVersion());
  
          $distro = '';
          if (method_exists($linfo, 'getDistro')) {
              $distro = $this->getDistroString(
                  $this->ifExists($linfo->getDistro())
              );
          }
  
          $this->results['server']['software'] = compact(
              'os', 'distro', 'kernel', 'arc', 'webserver', 'php'
          );
  
          return $this;
      }
code_tokens: protected function serverInfoSoftware ( ) { $ linfo = $ this -> linfo -> getParser ( ) ; $ os = $ this -> ifExists ( $ linfo -> getOS ( ) ) ; $ kernel = $ this -> ifExists ( $ linfo -> getKernel ( ) ) ; $ arc = $ this -> ifExists ( $ linfo -> getCPUArchitecture ( ) ) ; $ webserver = $ this -> ifExists ( $ linfo -> getWebService ( ) ) ; $ php = $ this -> ifExists ( $ linfo -> getPhpVersion ( ) ) ; $ distro = '' ; if ( method_exists ( $ linfo , 'getDistro' ) ) { $ distro = $ this -> getDistroString ( $ this -> ifExists ( $ linfo -> getDistro ( ) ) ) ; } $ this -> results [ 'server' ] [ 'software' ] = compact ( 'os' , 'distro' , 'kernel' , 'arc' , 'webserver' , 'php' ) ; return $ this ; }
docstring: Parse server software.
  
  @access protected
docstring_tokens: Parse server software .