コード例 #1
0
 /**
  * Constructor.
  *
  * @param string $version the semver-like version of the apache webserver
  */
 public function __construct($version = '')
 {
     parent::__construct('apache', $version);
     $this->parser = new ApacheParser();
 }
コード例 #2
0
 /**
  * Constructor.
  *
  * @param string $version the semver-like version of the apache webserver
  */
 public function __construct($version = '')
 {
     parent::__construct('nginx', $version);
     $this->parser = new NginxParser();
 }