| 1 | <?php |
||
| 12 | abstract class CommandServiceProvider extends ServiceProvider |
||
| 13 | { |
||
| 14 | /* ----------------------------------------------------------------- |
||
| 15 | | Properties |
||
| 16 | | ----------------------------------------------------------------- |
||
| 17 | */ |
||
| 18 | |||
| 19 | /** |
||
| 20 | * The commands to be registered. |
||
| 21 | * |
||
| 22 | * @var array |
||
| 23 | */ |
||
| 24 | protected $commands = []; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Indicates if loading of the provider is deferred. |
||
| 28 | * |
||
| 29 | * @var bool |
||
| 30 | */ |
||
| 31 | protected $defer = true; |
||
| 32 | |||
| 33 | /* ----------------------------------------------------------------- |
||
| 34 | | Main Methods |
||
| 35 | | ----------------------------------------------------------------- |
||
| 36 | */ |
||
| 37 | |||
| 38 | /** |
||
| 39 | * Boot the service provider. |
||
| 40 | */ |
||
| 41 | public function boot() |
||
| 45 | |||
| 46 | /** |
||
| 47 | * Get the provided commands. |
||
| 48 | * |
||
| 49 | * @return array |
||
| 50 | */ |
||
| 51 | public function provides() |
||
| 55 | } |
||
| 56 |