1 | <?php namespace Arcanedev\Assets\Console; |
||
17 | abstract class Command extends BaseCommand |
||
18 | { |
||
19 | /* ----------------------------------------------------------------- |
||
20 | | Main Methods |
||
21 | | ----------------------------------------------------------------- |
||
22 | */ |
||
23 | |||
24 | /** |
||
25 | * Execute the console command. |
||
26 | * |
||
27 | * @return mixed |
||
28 | */ |
||
29 | abstract public function handle(); |
||
30 | |||
31 | /* ----------------------------------------------------------------- |
||
32 | | Common Methods |
||
33 | | ----------------------------------------------------------------- |
||
34 | */ |
||
35 | |||
36 | /** |
||
37 | * Create a new pipeline. |
||
38 | * |
||
39 | * @return \Illuminate\Pipeline\Pipeline |
||
40 | */ |
||
41 | protected function pipeline() |
||
45 | |||
46 | /** |
||
47 | * Get the passable for the pipeline. |
||
48 | * |
||
49 | * @return array |
||
50 | */ |
||
51 | protected function getPassable() |
||
64 | |||
65 | /** |
||
66 | * Check if the assets was initiated. |
||
67 | */ |
||
68 | protected function ensureIsInitiated() |
||
75 | |||
76 | /** |
||
77 | * Get the default workspace. |
||
78 | * |
||
79 | * @return \Illuminate\Config\Repository|mixed |
||
80 | */ |
||
81 | protected function getSelectedWorkspace() |
||
85 | } |
||
86 |