| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php namespace Luminaire\Premailer\Laravel; |
||
| 31 | public function register() |
||
| 32 | { |
||
| 33 | $this->app->singleton('premailer.compiler', function ($app) |
||
| 34 | { |
||
| 35 | return new PremailerCompiler($app['files'], storage_path('premailer')); |
||
| 36 | }); |
||
| 37 | |||
| 38 | $this->app->singleton('premailer.engine', function ($app) |
||
| 39 | { |
||
| 40 | $blade = new CompilerEngine($app['blade.compiler']); |
||
| 41 | |||
| 42 | return new PremailerEngine($blade, $app['premailer.compiler']); |
||
| 43 | }); |
||
| 44 | } |
||
| 45 | |||
| 62 |