Method | Description | |
---|---|---|
configureProject ( Composer\Script\Event $event ) | Configures installation's directory structure. | |
installAssets ( Composer\Script\Event $event, boolean $checkForCreateProject = true ) | Install Bolt's assets. | |
installThemesAndFiles ( Composer\Script\Event $event ) | Install Bolt's default themes and files. |
Method | Description | |
---|---|---|
configureDir ( Composer\Script\Event $event, $name, $defaultInSkeleton, $prefix = '', $chmod = true ) | ||
configureDirMode ( Composer\Script\Event $event ) : number | Gets the directory mode value, sets umask with it, and returns it. | |
configureGitIgnore ( Composer\Script\Event $event ) | Optionally copy in Bolt's .gitignore file. | |
getApp ( Composer\Script\Event $event ) : Silex\Application | Loads the application once from bootstrap file (which is configured with .bolt.yml/.bolt.php file). | |
getDir ( Composer\Script\Event $event, string $name, string | null $default = null ) : string | Gets the directory requested either from configured application or composer's extra section/environment variable. | |
getOption ( Composer\Script\Event $event, string $key, mixed $default = null ) : mixed | Get an option from environment variable or composer's extra section. | |
getWebDir ( Composer\Script\Event $event ) : string | null | Gets the web directory either from configured application or composer's extra section/environment variable. |
protected static configureDir ( Composer\Script\Event $event, $name, $defaultInSkeleton, $prefix = '', $chmod = true ) | ||
$event | Composer\Script\Event |
protected static configureDirMode ( Composer\Script\Event $event ) : number | ||
$event | Composer\Script\Event | |
return | number |
protected static configureGitIgnore ( Composer\Script\Event $event ) | ||
$event | Composer\Script\Event |
public static configureProject ( Composer\Script\Event $event ) | ||
$event | Composer\Script\Event |
protected static getApp ( Composer\Script\Event $event ) : Silex\Application | ||
$event | Composer\Script\Event | |
return | Silex\Application |
public static installAssets ( Composer\Script\Event $event, boolean $checkForCreateProject = true ) | ||
$event | Composer\Script\Event | |
$checkForCreateProject | boolean |
public static installThemesAndFiles ( Composer\Script\Event $event ) | ||
$event | Composer\Script\Event |