function EmptyBoot::bootstrap_phases

8.0.x EmptyBoot.php EmptyBoot::bootstrap_phases()
7.x EmptyBoot.php EmptyBoot::bootstrap_phases()
master EmptyBoot.php EmptyBoot::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.

Overrides Boot::bootstrap_phases

See also

\Drush\Boot\DrupalBoot::bootstrap_phases()

File

lib/Drush/Boot/EmptyBoot.php, line 22

Namespace

Drush\Boot

Class

EmptyBoot
This is a do-nothing 'Boot' class that is used when there is no site at --root, or when no root is specified.

Code

function bootstrap_phases() {
  return array(
    DRUSH_BOOTSTRAP_DRUSH => '_drush_bootstrap_drush',
  );
}