Platformsh\Cli\Local\Toolstack\ToolstackInterface::prepare PHP Метод

prepare() публичный Метод

This function should be isometric and not affect the file system.
public prepare ( string $buildDir, LocalApplication $app, CliConfig $config, array $settings = [] )
$buildDir string The directory in which the app should be built.
$app Platformsh\Cli\Local\LocalApplication The app to build.
$config Platformsh\Cli\CliConfig CLI configuration.
$settings array Additional settings for the build. Possible settings include: - clone (bool, default false) Clone the repository to the build directory before building, where possible. - copy (bool, default false) Copy files instead of symlinking them, where possible. - abslinks (bool, default false) Use absolute paths in symlinks. - no-cache (bool, default false) Disable the package cache (if relevant and if the package manager supports this). - sourceDir (string) The source directory that contains the app(s). - multiApp (bool, default false) Whether there is more than 1 app in the source directory.
    public function prepare($buildDir, LocalApplication $app, CliConfig $config, array $settings = []);