Chronyms /
Qitsune
| 1 | <?php |
||
| 2 | |||
| 3 | namespace App\Providers; |
||
| 4 | |||
| 5 | use Illuminate\Support\Facades\View; |
||
| 6 | use Illuminate\Support\ServiceProvider; |
||
| 7 | |||
| 8 | class ComposerServiceProvider extends ServiceProvider |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * Register bindings in the container. |
||
| 12 | * |
||
| 13 | * @return void |
||
| 14 | */ |
||
| 15 | public function boot() |
||
| 16 | { |
||
| 17 | View::composer( |
||
| 18 | 'layouts.app', 'App\Http\ViewComposers\ThemeComposer' |
||
|
0 ignored issues
–
show
Bug
introduced
by
Loading history...
|
|||
| 19 | ); |
||
| 20 | } |
||
| 21 | |||
| 22 | /** |
||
| 23 | * Register the service provider. |
||
| 24 | * |
||
| 25 | * @return void |
||
| 26 | */ |
||
| 27 | public function register() |
||
| 28 | { |
||
| 29 | // |
||
| 30 | } |
||
| 31 | } |
||
| 32 |