| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | public function boot() |
||
| 18 | { |
||
| 19 | $this->loadViewsFrom(__DIR__.'/../resources/views', 'bladex'); |
||
| 20 | |||
| 21 | $this->app['blade.compiler']->extend(function ($view) { |
||
| 22 | return $this->app[Compiler::class]->compile($view); |
||
| 23 | }); |
||
| 24 | |||
| 25 | $this->app->make(BladeX::class)->component('bladex::context', 'context'); |
||
| 26 | } |
||
| 27 | } |
||
| 28 |