Conditions | 2 |
Paths | 2 |
Total Lines | 12 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
22 | protected function createPath(Filesystem $filesystem, $type) |
||
23 | { |
||
24 | $customPath = $this->option('path'); |
||
25 | |||
26 | $defaultPath = config("vue-generators.paths.{$type}s"); |
||
27 | |||
28 | $path = $customPath !== null ? $customPath : $defaultPath; |
||
29 | |||
30 | $this->buildPathFromArray($path, $filesystem); |
||
31 | |||
32 | return $path; |
||
33 | } |
||
34 | |||
42 |