| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 3 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 22 | public function create() : AbstractEngine |
||
| 23 | { |
||
| 24 | $loaderMustache = new Mustache_Engine([ |
||
| 25 | 'loader' => new MustacheLoader(), 'partials_loader' => new MustachePartialsLoader($this->templateFileResolver)] |
||
| 26 | ); |
||
| 27 | $stringMustache = new Mustache_Engine(['partials_loader' => new MustachePartialsLoader($this->templateFileResolver)]); |
||
| 28 | return new MustacheEngine($stringMustache, $loaderMustache); |
||
| 29 | } |
||
| 31 |