PHP 클래스 Airship\Engine\Continuum\Installers\Gadget

This allows a new Gadget to be installed
상속: extends BaseInstaller
파일 보기 프로젝트 열기: paragonie/airship

보호된 프로퍼티들

프로퍼티 타입 설명
$ext string
$type string

공개 메소드들

메소드 설명
addToCabin ( string $cabin ) : boolean Update this cabin's gadgets.json file.
install ( InstallFile $fileInfo ) : boolean Gadget install process.

보호된 메소드들

메소드 설명
getMetadata ( InstallFile $fileInfo ) : array Get the metadata stored in the PHP archive.

메소드 상세

addToCabin() 공개 메소드

Update this cabin's gadgets.json file.
public addToCabin ( string $cabin ) : boolean
$cabin string
리턴 boolean

getMetadata() 보호된 메소드

Get the metadata stored in the PHP archive.
protected getMetadata ( InstallFile $fileInfo ) : array
$fileInfo InstallFile
리턴 array

install() 공개 메소드

1. Move .phar to the appropriate location. 2. If this gadget is for a particular cabin, add it to that cabin's gadgets.json file. 3. Run the update triggers (install hooks and incremental upgrades). 4. Clear the cache files.
public install ( InstallFile $fileInfo ) : boolean
$fileInfo InstallFile
리턴 boolean

프로퍼티 상세

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

protected string $ext
리턴 string

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

protected string $type
리턴 string