| 1 | <?php |
||
| 7 | class FlareModuleProvider extends ServiceProvider |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * Flare |
||
| 11 | * |
||
| 12 | * @var \LaravelFlare\Flare\Flare |
||
| 13 | */ |
||
| 14 | protected $flare; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * Create a new service provider instance. |
||
| 18 | * |
||
| 19 | * @param \Illuminate\Contracts\Foundation\Application $app |
||
| 20 | * @return void |
||
|
|
|||
| 21 | */ |
||
| 22 | public function __construct($app) |
||
| 28 | |||
| 29 | /** |
||
| 30 | * Perform post-registration booting of services. |
||
| 31 | */ |
||
| 32 | public function boot() |
||
| 35 | |||
| 36 | /** |
||
| 37 | * Register any package services. |
||
| 38 | */ |
||
| 39 | public function register() |
||
| 43 | } |
||
| 44 |
Adding a
@returnannotation to a constructor is not recommended, since a constructor does not have a meaningful return value.Please refer to the PHP core documentation on constructors.