mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-04 23:35:40 +08:00
Refactor package stage handling and update class structures for improved flexibility
This commit is contained in:
@@ -13,8 +13,9 @@ use StaticPHP\Command\DownloadCommand;
|
||||
use StaticPHP\Command\ExtractCommand;
|
||||
use StaticPHP\Command\InstallPackageCommand;
|
||||
use StaticPHP\Command\SPCConfigCommand;
|
||||
use StaticPHP\Package\PackageLoader;
|
||||
use StaticPHP\Package\TargetPackage;
|
||||
use StaticPHP\Registry\PackageLoader;
|
||||
use StaticPHP\Registry\Registry;
|
||||
use Symfony\Component\Console\Application;
|
||||
|
||||
class ConsoleApplication extends Application
|
||||
@@ -29,6 +30,9 @@ class ConsoleApplication extends Application
|
||||
|
||||
require_once ROOT_DIR . '/src/bootstrap.php';
|
||||
|
||||
// check registry
|
||||
Registry::checkLoadedRegistries();
|
||||
|
||||
/**
|
||||
* @var string $name
|
||||
* @var TargetPackage $package
|
||||
|
||||
Reference in New Issue
Block a user