Свойство | Type | Description | |
---|---|---|---|
$current | string | ||
$file | string |
Méthode | Description | |
---|---|---|
__construct ( string $file, string $current = null ) | Constructor. | |
disable ( ) | Runs the script's disable hook. | |
enable ( ) | Runs the script's enable hook. | |
hasUpdates ( ) | Checks for script updates. | |
install ( ) | Runs the script's install hook. | |
uninstall ( ) | Runs the script's uninstall hook. | |
update ( ) | Runs the script's update hooks. |
Méthode | Description | |
---|---|---|
get ( string $name ) : array | ||
getUpdates ( ) : callable[] | ||
load ( ) : array | ||
run ( array | callable $scripts ) |
public __construct ( string $file, string $current = null ) | ||
$file | string | |
$current | string |