PackageDocRegistrySnippetHandler
in package
Look for registry snippets in all app's doc/registry.d folder
An installed app may be present in the default registry or it may provide a snippet in its doc/registry.d folder. Otherwise the admin must place the snippet into the var/config/horde/registry.d folder himself.
A snippet should never override an existing file
Table of Contents
- $configRegistryDir : string
- $filesystem : Filesystem
- $tree : DirectoryTree
- __construct() : mixed
- Constructor
- handle() : void
- Scan all packages for a registry snippet
Properties
$configRegistryDir
private
string
$configRegistryDir
$filesystem
private
Filesystem
$filesystem
$tree
private
DirectoryTree
$tree
Methods
__construct()
Constructor
public
__construct(DirectoryTree $tree, Filesystem $filesystem) : mixed
Parameters
- $tree : DirectoryTree
- $filesystem : Filesystem
Return values
mixed —handle()
Scan all packages for a registry snippet
public
handle() : void
Copy snippets to the horde base app's registry snippet dir