public function BootstrapManager::add

master BootstrapManager.php public BootstrapManager::add($candidateList)

Add a bootstrap object to the list of candidates

Parameters

\Drush\Boot\Boot|Array: List of boot candidates

File

lib/Drush/Boot/BootstrapManager.php, line 54

Namespace

Drush\Boot

Class

BootstrapManager

Code

public function add($candidateList) {
  foreach (func_get_args() as $candidate) {
    $this->bootstrapCandidates[] = $candidate;
  }
}