function Boot::bootstrap_and_dispatch

8.0.x Boot.php Boot::bootstrap_and_dispatch()
7.x Boot.php Boot::bootstrap_and_dispatch()
master Boot.php Boot::bootstrap_and_dispatch()

Main entrypoint to bootstrap the selected CMS and execute the selected command.

The implementation provided in BaseBoot should be sufficient; this method usually will not need to be overridden.

1 method overrides Boot::bootstrap_and_dispatch()
BaseBoot::bootstrap_and_dispatch in lib/Drush/Boot/BaseBoot.php
Main entrypoint to bootstrap the selected CMS and execute the selected command.

File

lib/Drush/Boot/Boot.php, line 35

Namespace

Drush\Boot

Class

Boot
Defines the interface for a Boot classes. Any CMS that wishes to work with Drush should extend BaseBoot. If the CMS has a Drupal-Compatibility layer, then it should extend DrupalBoot.

Code

function bootstrap_and_dispatch();