| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| 1 | <?php |
||
| 38 | protected function registerViewFinder() |
||
| 39 | { |
||
| 40 | $this->app['view.finder'] = $this->app->share(function($app) { |
||
| 41 | $paths = $app['config']['view.paths']; |
||
| 42 | |||
| 43 | return new FileViewFinder($app['files'], $paths); |
||
| 44 | }); |
||
| 45 | |||
| 46 | // Apply this finder to the already-registered view factory |
||
| 47 | $this->app['view']->setFinder($this->app['view.finder']); |
||
| 48 | } |
||
| 49 | |||
| 62 |