PHP Class Airship\Engine\Continuum\Installers\Cabin

This allows a new Cabin to be installed.
Inheritance: extends Airship\Engine\Continuum\Installer, use trait Airship\Engine\Bolt\Common
Afficher le fichier Open project: paragonie/airship

Protected Properties

Свойство Type Description
$ext string
$type string

Méthodes publiques

Méthode Description
clearCache ( ) : boolean Clear the cache files related to Cabins.
install ( InstallFile $fileInfo ) : boolean Cabin install process.

Méthodes protégées

Méthode Description
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

Method Details

clearCache() public méthode

Clear the cache files related to Cabins.
public clearCache ( ) : boolean
Résultat boolean

configure() protected méthode

Create the default configuration
protected configure ( string $nameSpace, array $metadata = [] ) : boolean
$nameSpace string
$metadata array
Résultat boolean

createEmptyFiles() protected méthode

Create empty files (motifs.json, etc.)
protected createEmptyFiles ( string $nameSpace ) : boolean
$nameSpace string
Résultat boolean

defaultCabinConfig() protected méthode

Create the default configuration
protected defaultCabinConfig ( string $nameSpace ) : boolean
$nameSpace string
Résultat boolean

install() public méthode

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
Résultat boolean

updateCabinsRegistry() protected méthode

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

Property Details

$ext protected_oe property

protected string $ext
Résultat string

$type protected_oe property

protected string $type
Résultat string