ApplicationLinker
in package
Table of Contents
- $appPackages : array<string|int, mixed>
- List of packages considered as apps
- $baseDir : string
- $filesystem : Filesystem
- $mode : string
- __construct() : mixed
- run() : void
- Symlink contents of applications to web dir
Properties
$appPackages
List of packages considered as apps
private
array<string|int, mixed>
$appPackages
$baseDir
private
string
$baseDir
$filesystem
private
Filesystem
$filesystem
$mode
private
string
$mode
Methods
__construct()
public
__construct(Filesystem $filesystem, array<string|int, string> $appPackages, string $baseDir[, string $mode = 'symlink' ]) : mixed
Parameters
- $filesystem : Filesystem
-
Filesystem helper
- $appPackages : array<string|int, string>
-
List of vendor/app strings
- $baseDir : string
-
root package dir
- $mode : string = 'symlink'
-
Defaults to symlink
Return values
mixed —run()
Symlink contents of applications to web dir
public
run() : void
We always check the whole tree even though this may happen multiple times in installations with many apps