PHP Class Airship\Engine\Continuum\Installers\Motif

This allows a new Motif to be installed
Inheritance: extends Airship\Engine\Continuum\Installer
Afficher le fichier Open project: paragonie/airship

Protected Properties

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

Méthodes publiques

Méthode Description
install ( InstallFile $fileInfo ) : boolean Motif install process.

Méthodes protégées

Méthode Description
addMotifToCabin ( string $cabin ) : boolean Add the new motif as an option to the Cabin
createSymlinks ( string $cabin, array $config, string $index ) : boolean Setup the initial symbolic links

Method Details

addMotifToCabin() protected méthode

Add the new motif as an option to the Cabin
protected addMotifToCabin ( string $cabin ) : boolean
$cabin string
Résultat boolean

install() public méthode

1. Extract files to the appropriate directory. 2. If this is a cabin-specific motif, update motifs.json. Otherwise, it's a global Motif. Enable for all cabins. 3. Create symbolic links. 4. Clear cache files.
public install ( InstallFile $fileInfo ) : boolean
$fileInfo InstallFile
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