function Boot::bootstrap_phases

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

Returns an array that determines what bootstrap phases are necessary to bootstrap this CMS. This array should map from a numeric phase to the name of a method (string) in the Boot class that handles the bootstrap phase.

Return value

array of PHASE index => method name.

See also

\Drush\Boot\DrupalBoot::bootstrap_phases()

2 methods override Boot::bootstrap_phases()
DrupalBoot::bootstrap_phases in lib/Drush/Boot/DrupalBoot.php
Bootstrap phases used with Drupal:
EmptyBoot::bootstrap_phases in lib/Drush/Boot/EmptyBoot.php
Returns an array that determines what bootstrap phases are necessary to bootstrap this CMS. This array should map from a numeric phase to the name of a method (string) in the Boot class that handles the bootstrap phase.

File

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

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