system.console.mirror.extendPaths
Enables extending the php artisan winter:mirror
command
php artisan winter:mirror
commandYou will have access to a $paths stdClass with files
, directories
, wildcards
properties available for modifying.
Example usage:
Event::listen('system.console.mirror.extendPaths', function ($paths) {
$paths->directories = array_merge($paths->directories, ['plugins/myauthor/myplugin/public']);
});
Usage
Triggers
Class or file | Line |
---|---|
System\Console\WinterMirror
|
127 |
Copyright © 2024 Winter CMS