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

This allows a new Cabin to be installed.
상속: extends Airship\Engine\Continuum\Installer, use trait Airship\Engine\Bolt\Common
파일 보기 프로젝트 열기: paragonie/airship

보호된 프로퍼티들

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

공개 메소드들

메소드 설명
clearCache ( ) : boolean Clear the cache files related to Cabins.
install ( InstallFile $fileInfo ) : boolean Cabin install process.

보호된 메소드들

메소드 설명
configure ( string $nameSpace, array $metadata = [] ) : boolean Create the default configuration
createEmptyFiles ( string $nameSpace ) : boolean Create empty files (motifs.json, etc.)
createSymlinks ( string $nameSpace ) : boolean Create the initial symlinks for this Cabin
defaultCabinConfig ( string $nameSpace ) : boolean Create the default configuration
updateCabinsRegistry ( string $nameSpace, array $metadata ) : boolean Add the new cabin to config/cabins.json

메소드 상세

clearCache() 공개 메소드

Clear the cache files related to Cabins.
public clearCache ( ) : boolean
리턴 boolean

configure() 보호된 메소드

Create the default configuration
protected configure ( string $nameSpace, array $metadata = [] ) : boolean
$nameSpace string
$metadata array
리턴 boolean

createEmptyFiles() 보호된 메소드

Create empty files (motifs.json, etc.)
protected createEmptyFiles ( string $nameSpace ) : boolean
$nameSpace string
리턴 boolean

defaultCabinConfig() 보호된 메소드

Create the default configuration
protected defaultCabinConfig ( string $nameSpace ) : boolean
$nameSpace string
리턴 boolean

install() 공개 메소드

1. Extract files to proper directory. 2. Run the update triggers (install hooks and incremental upgrades) 3. Create/update relevant configuration files. 4. Create symbolic links. 5. Clear the cache files.
public install ( InstallFile $fileInfo ) : boolean
$fileInfo InstallFile
리턴 boolean

updateCabinsRegistry() 보호된 메소드

Add the new cabin to config/cabins.json
protected updateCabinsRegistry ( string $nameSpace, array $metadata ) : boolean
$nameSpace string
$metadata array
리턴 boolean

프로퍼티 상세

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

protected string $ext
리턴 string

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

protected string $type
리턴 string