Свойство | Type | Description | |
---|---|---|---|
$app | |||
$appRoot | string | ||
$buildDir | string | ||
$config | |||
$copy | boolean | ||
$fsHelper | |||
$gitHelper | |||
$ignoredFiles | string[] | Files from the app root to ignore during install. | |
$output | Symfony\Component\Console\Output\OutputInterface | ||
$settings | array | ||
$shellHelper | Platformsh\Cli\Helper\ShellHelperInterface | ||
$specialDestinations | array | Special destinations for installation. |
Méthode | Description | |
---|---|---|
__construct ( object $fsHelper = null, Platformsh\Cli\Helper\ShellHelperInterface $shellHelper = null, object $gitHelper = null ) | ||
addIgnoredFiles ( array $ignoredFiles ) | ||
canArchive ( ) | ||
getAppDir ( ) : string | ||
getKey ( ) | ||
getWebRoot ( ) | ||
install ( ) | ||
prepare ( $buildDir, |
||
setBuildDir ( $buildDir ) | ||
setOutput ( Symfony\Component\Console\Output\OutputInterface $output ) |
Méthode | Description | |
---|---|---|
copyGitIgnore ( string $source ) | Create a default .gitignore file for the app. | |
copyToBuildDir ( ) : string | Copy, or symlink, files from the app root to the build directory. | |
getSharedDir ( ) : string | false | Get the directory containing files shared between builds. | |
installDrupalSettingsLocal ( ) | Create a settings.local.php for a Drupal site. | |
processSharedFileMounts ( ) | Process shared file mounts in the application. | |
processSpecialDestinations ( ) | Process the defined special destinations. |
Méthode | Description | |
---|---|---|
cloneToBuildDir ( string $buildDir ) | Clone the app to the build directory via Git. |
public __construct ( object $fsHelper = null, Platformsh\Cli\Helper\ShellHelperInterface $shellHelper = null, object $gitHelper = null ) | ||
$fsHelper | object | |
$shellHelper | Platformsh\Cli\Helper\ShellHelperInterface | |
$gitHelper | object |
protected copyGitIgnore ( string $source ) | ||
$source | string | The path to a default .gitignore file, relative to the 'resources' directory. |
protected copyToBuildDir ( ) : string | ||
Résultat | string | The absolute path to the build directory where files have been copied. |
protected installDrupalSettingsLocal ( ) |
protected processSpecialDestinations ( ) |
public setOutput ( Symfony\Component\Console\Output\OutputInterface $output ) | ||
$output | Symfony\Component\Console\Output\OutputInterface |
protected LocalApplication,Platformsh\Cli\Local $app | ||
Résultat |
protected CliConfig,Platformsh\Cli $config | ||
Résultat |
protected FilesystemHelper,Platformsh\Cli\Helper $fsHelper | ||
Résultat |
protected GitHelper,Platformsh\Cli\Helper $gitHelper | ||
Résultat |
protected string[] $ignoredFiles | ||
Résultat | string[] |
protected OutputInterface,Symfony\Component\Console\Output $output | ||
Résultat | Symfony\Component\Console\Output\OutputInterface |
protected ShellHelperInterface,Platformsh\Cli\Helper $shellHelper | ||
Résultat | Platformsh\Cli\Helper\ShellHelperInterface |
protected array $specialDestinations | ||
Résultat | array |