Метод |
Описание |
|
__construct ( string $appRoot, CliConfig $cliConfig = null, string | null $sourceDir = null ) |
|
|
getApplication ( string | null $name, string $directory, CliConfig $config = null ) : LocalApplication |
Get a single application by name. |
|
getApplications ( string $directory, CliConfig $config = null ) : LocalApplication[] |
Get a list of applications in a directory. |
|
getConfig ( ) : array |
Get the application's configuration, parsed from its YAML definition. |
|
getDocumentRoot ( ) : string |
Get the configured document root for the application, as a relative path. |
|
getId ( ) : string |
Get a unique identifier for this app. |
|
getName ( ) : string | null |
|
|
getRoot ( ) : string |
|
|
getSharedFileMounts ( ) : array |
Get a list of shared file mounts configured for the app. |
|
getToolstack ( ) : Platformsh\Cli\Local\Toolstack\ToolstackInterface | false |
Get the toolstack for the application. |
|
getToolstacks ( ) : Platformsh\Cli\Local\Toolstack\ToolstackInterface[] |
|
|
setConfig ( array $config ) |
Override the application config. |
|
shouldMoveToRoot ( ) : string |
Check whether the whole app should be moved into the document root. |
|