function BuildTestBase::stopServer
Stop the HTTP server, zero out all necessary variables.
2 calls to BuildTestBase::stopServer()
- BuildTestBase::standUpServer in core/
tests/ Drupal/ BuildTests/ Framework/ BuildTestBase.php  - Makes a local test server using PHP's internal HTTP server.
 - BuildTestBase::tearDown in core/
tests/ Drupal/ BuildTests/ Framework/ BuildTestBase.php  
File
- 
              core/
tests/ Drupal/ BuildTests/ Framework/ BuildTestBase.php, line 452  
Class
- BuildTestBase
 - Provides a workspace to test build processes.
 
Namespace
Drupal\BuildTests\FrameworkCode
protected function stopServer() {
  if (!empty($this->serverProcess)) {
    $this->serverProcess
      ->stop();
  }
  $this->serverProcess = NULL;
  $this->serverDocroot = NULL;
  $this->hostPort = NULL;
  $this->initMink();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.