PHP Класс Airship\Engine\Continuum

This class controls the Continuum update process.
Наследование: use trait Airship\Engine\Bolt\Log, use trait Airship\Engine\Bolt\Supplier
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
$supplierCache Airship\Engine\Continuum\Supplier[]

Защищенные свойства (Protected)

Свойство Тип Описание
$hail Hail

Открытые методы

Метод Описание
__construct ( Hail $hail = null ) Continuum constructor.
checkForUpdates ( boolean $force = false ) Do we need to do an update check? If so, start the update check process.
doUpdateCheck ( ) Do the update check,
getCabins ( ) : array Get an array of CabinUpdater objects
getGadgets ( ) : array Get an array of GadgetUpdater objects
getMotifs ( ) : array Get an array of GadgetUpdater objects
getPharManifest ( string $file ) : array Get metadata from the Phar
needsUpdate ( ) : boolean Do we need to run the update process?

Приватные методы

Метод Описание
getEndPiece ( string $fullPath ) : string Get the last piece of a path

Описание методов

__construct() публичный метод

Continuum constructor.
public __construct ( Hail $hail = null )
$hail Hail

checkForUpdates() публичный метод

Do we need to do an update check? If so, start the update check process.
public checkForUpdates ( boolean $force = false )
$force boolean Force start the update check?

doUpdateCheck() публичный метод

1. Update all cabins 2. Update all gadgets 3. Update the core
public doUpdateCheck ( )

getCabins() публичный метод

Get an array of CabinUpdater objects
public getCabins ( ) : array
Результат array

getGadgets() публичный метод

Get an array of GadgetUpdater objects
public getGadgets ( ) : array
Результат array

getMotifs() публичный метод

Get an array of GadgetUpdater objects
public getMotifs ( ) : array
Результат array

getPharManifest() публичный метод

Get metadata from the Phar
public getPharManifest ( string $file ) : array
$file string
Результат array

needsUpdate() публичный метод

Do we need to run the update process?
public needsUpdate ( ) : boolean
Результат boolean

Описание свойств

$hail защищенное свойство

protected Hail,Airship\Engine $hail
Результат Hail

$supplierCache публичное свойство

public Supplier[],Airship\Engine\Continuum $supplierCache
Результат Airship\Engine\Continuum\Supplier[]