1 | <?php namespace Arcanedev\Assets\Console; |
||
11 | class InitCommand extends Command |
||
12 | { |
||
13 | /* ----------------------------------------------------------------- |
||
14 | | Properties |
||
15 | | ----------------------------------------------------------------- |
||
16 | */ |
||
17 | |||
18 | /** |
||
19 | * The name and signature of the console command. |
||
20 | * |
||
21 | * @var string |
||
22 | */ |
||
23 | protected $signature = 'assets:init |
||
24 | {name=laravel : The assets name folder} |
||
25 | {--W|workspace= : Select a predefined workspace}'; |
||
26 | |||
27 | /** |
||
28 | * The console command description. |
||
29 | * |
||
30 | * @var string |
||
31 | */ |
||
32 | protected $description = 'Init the assets structure'; |
||
33 | |||
34 | /* ----------------------------------------------------------------- |
||
35 | | Main Methods |
||
36 | | ----------------------------------------------------------------- |
||
37 | */ |
||
38 | |||
39 | /** |
||
40 | * Execute the console command. |
||
41 | * |
||
42 | * @return mixed |
||
43 | */ |
||
44 | public function handle() |
||
66 | |||
67 | /* ----------------------------------------------------------------- |
||
68 | | Other Methods |
||
69 | | ----------------------------------------------------------------- |
||
70 | */ |
||
71 | |||
72 | /** |
||
73 | * Get the passable for the pipeline. |
||
74 | * |
||
75 | * @return array |
||
76 | */ |
||
77 | protected function getPassable() |
||
83 | } |
||
84 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.