public function DrupalBoot8::terminate

8.0.x DrupalBoot8.php public DrupalBoot8::terminate()
7.x DrupalBoot8.php public DrupalBoot8::terminate()
master DrupalBoot8.php public DrupalBoot8::terminate()

This method is called during the shutdown of drush.

Return value

void

Overrides BaseBoot::terminate

File

lib/Drush/Boot/DrupalBoot8.php, line 139

Namespace

Drush\Boot

Class

DrupalBoot8

Code

public function terminate() {
  parent::terminate();

  if ($this->kernel) {
    $response = Response::create('');
    $this->kernel->terminate($this->request, $response);
  }
}