PHP Класс Airship\Engine\Continuum\Installers\Motif

This allows a new Motif to be installed
Наследование: extends Airship\Engine\Continuum\Installer
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$ext string
$type string

Открытые методы

Метод Описание
install ( InstallFile $fileInfo ) : boolean Motif install process.

Защищенные методы

Метод Описание
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

Описание методов

addMotifToCabin() защищенный метод

Add the new motif as an option to the Cabin
protected addMotifToCabin ( string $cabin ) : boolean
$cabin string
Результат boolean

install() публичный метод

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
Результат boolean

Описание свойств

$ext защищенное свойство

protected string $ext
Результат string

$type защищенное свойство

protected string $type
Результат string