method name. */ function bootstrap_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 array of PHASE indexes. */ function bootstrap_init_phases(); /** * Return an array of default values that should be added * to every command (e.g. values needed in enforce_requirements(), * etc.) */ function command_defaults(); /** * Called by Drush when a command is selected, but * before it runs. This gives the Boot class an * opportunity to determine if any minimum * requirements (e.g. minimum Drupal version) declared * in the command have been met. * * @return TRUE if command is valid. $command['bootstrap_errors'] * should be populated with an array of error messages if * the command is not valid. */ function enforce_requirement(&$command); /** * Called by Drush if a command is not found, or if the * command was found, but did not meet requirements. * * The implementation in BaseBoot should be sufficient * for most cases, so this method typically will not need * to be overridden. */ function report_command_error($command); /** * This method is called during the shutdown of drush. * * @return void */ public function terminate(); }