PHP 클래스 Airship\Engine\Continuum

This class controls the Continuum update process.
상속: use trait Airship\Engine\Bolt\Log, use trait Airship\Engine\Bolt\Supplier
파일 보기 프로젝트 열기: paragonie/airship

공개 프로퍼티들

프로퍼티 타입 설명
$supplierCache Airship\Engine\Continuum\Supplier[]

보호된 프로퍼티들

프로퍼티 타입 설명
$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[]