1 | <?php |
||
15 | class PublishAssignments extends Command |
||
16 | { |
||
17 | |||
18 | use ItFetchesAssignments, AborstIfEnvVariableIsnotInstalled; |
||
19 | |||
20 | /** |
||
21 | * The name and signature of the console command. |
||
22 | * |
||
23 | * @var string |
||
24 | */ |
||
25 | protected $signature = 'publish:assignments'; |
||
26 | |||
27 | /** |
||
28 | * The console command description. |
||
29 | * |
||
30 | * @var string |
||
31 | */ |
||
32 | protected $description = 'List current teacher assignments'; |
||
33 | |||
34 | /** |
||
35 | * Assignments. |
||
36 | * |
||
37 | * @var |
||
38 | */ |
||
39 | protected $assignments; |
||
40 | |||
41 | /** |
||
42 | * Server names. |
||
43 | * |
||
44 | * @var Client |
||
45 | */ |
||
46 | protected $http; |
||
47 | |||
48 | /** |
||
49 | * SaveEnvVariable constructor. |
||
50 | * |
||
51 | */ |
||
52 | public function __construct(Client $http) |
||
57 | |||
58 | /** |
||
59 | * Execute the console command. |
||
60 | * |
||
61 | */ |
||
62 | public function handle() |
||
85 | |||
86 | /** |
||
87 | * Abort command execution. |
||
88 | */ |
||
89 | protected function abortCommandExecution() |
||
93 | } |
||
94 |