1 | <?php |
||
7 | class ConsoleServiceProvider extends ServiceProvider |
||
8 | { |
||
9 | /** |
||
10 | * Indicates if loading of the provider is deferred. |
||
11 | * |
||
12 | * @var bool |
||
13 | */ |
||
14 | protected $defer = true; |
||
15 | |||
16 | /** |
||
17 | * The commands to be registered. |
||
18 | * |
||
19 | * @var array |
||
20 | */ |
||
21 | protected $commands = [ |
||
22 | 'GenerateClient' => 'command.api.generate.client', |
||
23 | 'GenerateToken' => 'command.api.generate.token', |
||
24 | ]; |
||
25 | |||
26 | /** |
||
27 | * Register the service provider. |
||
28 | * |
||
29 | * @return void |
||
30 | */ |
||
31 | public function register() |
||
43 | |||
44 | /** |
||
45 | * Get the services provided by the provider. |
||
46 | * |
||
47 | * @return string[] |
||
48 | */ |
||
49 | public function provides() |
||
53 | } |
||
54 |