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