1 | <?php |
||
2 | |||
3 | declare(strict_types = 1); |
||
4 | |||
5 | namespace PhpTaskman\Core\Robo\Task\Filesystem; |
||
6 | |||
7 | /** |
||
8 | * Trait LoadFilesystemTasks. |
||
9 | */ |
||
10 | trait LoadFilesystemTasks |
||
11 | { |
||
12 | /** |
||
13 | * @param mixed $task |
||
14 | * @param mixed $options |
||
15 | * |
||
16 | * @return \Robo\Collection\CollectionBuilder |
||
17 | */ |
||
18 | public function taskFilesystemFactory($task, $options) |
||
19 | { |
||
20 | return $this->task(Filesystem::class)->{$task}(...array_values($options)); |
||
0 ignored issues
–
show
Bug
introduced
by
Loading history...
|
|||
21 | } |
||
22 | } |
||
23 |