mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-06 16:25:39 +08:00
fix custompackage handling
This commit is contained in:
@@ -30,10 +30,14 @@ abstract class CustomPackage
|
||||
|
||||
/**
|
||||
* Get the environment variables this package needs to be usable.
|
||||
* PATH needs to be appended, rather than replaced.
|
||||
*/
|
||||
abstract public static function getEnvironment(): array;
|
||||
|
||||
/**
|
||||
* Get the PATH required to use this package.
|
||||
*/
|
||||
abstract public static function getPath(): ?string;
|
||||
|
||||
abstract public static function isInstalled(): bool;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user