PHP Class Airship\Engine\Continuum\Installers\Motif

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

Protected Properties

Property Type Description
$ext string
$type string

Public Methods

Method Description
install ( InstallFile $fileInfo ) : boolean Motif install process.

Protected Methods

Method 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 method

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

install() public method

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
return boolean

Property Details

$ext protected property

protected string $ext
return string

$type protected property

protected string $type
return string