function Boot::bootstrap_init_phases

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

List of bootstrap phases where Drush should stop and look for commandfiles.

This allows us to bootstrap to a minimum neccesary to find commands.

Once a command is found, Drush will ensure a bootstrap to the phase declared by the command.

Return value

array of PHASE indexes.

1 call to Boot::bootstrap_init_phases()
BaseBoot::bootstrap_and_dispatch in lib/Drush/Boot/BaseBoot.php
Main entrypoint to bootstrap the selected CMS and execute the selected command.
2 methods override Boot::bootstrap_init_phases()
DrupalBoot::bootstrap_init_phases in lib/Drush/Boot/DrupalBoot.php
List of bootstrap phases where Drush should stop and look for commandfiles.
EmptyBoot::bootstrap_init_phases in lib/Drush/Boot/EmptyBoot.php
List of bootstrap phases where Drush should stop and look for commandfiles.

File

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

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_init_phases();