StandaloneScaffold
in package
Install basic scaffolding for standalone. This creates a handful of small, static folders and files.
NOTE: This file MUST be self-sufficient. It will be loaded by itself in a pre-install environment.
Table of Contents
Methods
- create() : void
- Install basic scaffolding for standalone. This creates a handful of small, static folders and files.
Methods
create()
Install basic scaffolding for standalone. This creates a handful of small, static folders and files.
public
static create(array<string|int, mixed> $task) : void
Parameters
- $task : array<string|int, mixed>
-
- 'scaffold-dir': Where to place files
- Ex: '/var/www/example.com'
- Ex: '/home/myuser/src/civicrm/srv'
- 'scaffold-mode': How to install files. Options:
- 'copy': Make an exact copy
- 'symlink': Make a symbolic link
- 'auto': Choose 'copy' or 'symlink' based on OS compat
- 'scaffold-dir': Where to place files