
| Current Path : /var/www/html/sirius-pallets/vendor/drush/drush/src/Boot/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : /var/www/html/sirius-pallets/vendor/drush/drush/src/Boot/EmptyBoot.php |
<?php
declare(strict_types=1);
namespace Drush\Boot;
/**
* This is a do-nothing 'Boot' class that is used when there
* is no site at Drupal root, or when no root is specified.
*
* The 'empty' boot must be careful to never change state,
* in case bootstrap code might later come along and set
* a site (e.g. in command completion).
*/
class EmptyBoot extends BaseBoot
{
public function validRoot(?string $path): bool
{
return false;
}
public function bootstrapPhases(): array
{
return [
DrupalBootLevels::NONE => '_drush_bootstrap_drush',
];
}
public function bootstrapInitPhases(): array
{
return [DrupalBootLevels::NONE];
}
}