Свойство | Тип | Описание | |
---|---|---|---|
$cabin | array | ||
$ext | string |
Метод | Описание | |
---|---|---|
__construct ( Hail $hail, array $manifest = [], Supplier $supplier = null, string $filePath = '' ) | Gadget constructor. | |
autoUpdate ( ) | Process automatic updates: | |
setCabin ( string $supplier, string $name ) : self | Store cabin association | |
updateJSON ( |
Update the version identifier stored in the gadgets.json file |
Метод | Описание | |
---|---|---|
install ( |
We just need to replace the Phar |
public __construct ( Hail $hail, array $manifest = [], Supplier $supplier = null, string $filePath = '' ) | ||
$hail | Hail | |
$manifest | array | |
$supplier | Supplier | |
$filePath | string |
public autoUpdate ( ) |
protected install ( |
||
$info | ||
$file |
public updateJSON ( |
||
$info | ||
$metaData | array |