PHP 클래스 Airship\Engine\Continuum\Updaters\Airship

This is used to self-update the Airship
상속: extends AutoUpdater, implements ContinuumInterface
파일 보기 프로젝트 열기: paragonie/airship

보호된 프로퍼티들

프로퍼티 타입 설명
$ext string
$name string
$pharAlias string

공개 메소드들

메소드 설명
__construct ( Hail $hail, Supplier $sup ) Airship constructor.
autoUpdate ( ) Process automatic updates:

보호된 메소드들

메소드 설명
install ( UpdateInfo $info, UpdateFile $file ) Let's install the automatic update.
replaceFile ( string $filename ) : boolean Unique to Airship updating; replace a file with one in the archive

메소드 상세

__construct() 공개 메소드

Airship constructor.
public __construct ( Hail $hail, Supplier $sup )
$hail Hail
$sup Supplier

autoUpdate() 공개 메소드

1. Check if a new update is available. 2. Download the upload file, store in a temporary file. 3. Verify the signature (via Halite). 4. Verify the update is recorded in Keyggdrasil. 5. If all is well, run the update script.
public autoUpdate ( )

install() 보호된 메소드

If we get to this point: 1. We know the signature is signed by Paragon Initiative Enterprises, LLC. 2. The hash was checked into Keyggdrasil, which was independently vouched for by our peers.
protected install ( UpdateInfo $info, UpdateFile $file )
$info UpdateInfo
$file UpdateFile

replaceFile() 보호된 메소드

Unique to Airship updating; replace a file with one in the archive
protected replaceFile ( string $filename ) : boolean
$filename string
리턴 boolean

프로퍼티 상세

$ext 보호되어 있는 프로퍼티

protected string $ext
리턴 string

$name 보호되어 있는 프로퍼티

protected string $name
리턴 string

$pharAlias 보호되어 있는 프로퍼티

protected string $pharAlias
리턴 string