1 | <?php namespace Wn\Generators\Commands; |
||
7 | class PublishCommand extends Command { |
||
8 | |||
9 | protected $signature = 'wn:publish |
||
10 | {--f : force the publishing.} |
||
11 | '; |
||
12 | protected $description = 'Publishes the laravel-generators config file to the config folder of your project'; |
||
13 | protected $fs; |
||
14 | |||
15 | public function __construct(Filesystem $fs) |
||
21 | |||
22 | public function handle() |
||
36 | |||
37 | private function shortPath($path){ |
||
40 | |||
41 | private function copyFile($from, $to){ |
||
54 | } |
||
55 |