@@ -36,7 +36,7 @@ discard block |
||
| 36 | 36 | */ |
| 37 | 37 | public function registerFactory() |
| 38 | 38 | { |
| 39 | - $this->app->singleton('code', function ($app) { |
|
| 39 | + $this->app->singleton('code', function($app) { |
|
| 40 | 40 | // Next we need to grab the engine resolver instance that will be used by the |
| 41 | 41 | // environment. The resolver will be used by an environment to get each of |
| 42 | 42 | // the various engine implementations such as plain PHP or Blade engine. |
@@ -64,7 +64,7 @@ discard block |
||
| 64 | 64 | */ |
| 65 | 65 | public function registerViewFinder() |
| 66 | 66 | { |
| 67 | - $this->app->bind('code.finder', function ($app) { |
|
| 67 | + $this->app->bind('code.finder', function($app) { |
|
| 68 | 68 | return new FileViewFinder($app['files'], $app['config']['view.paths']); |
| 69 | 69 | }); |
| 70 | 70 | } |
@@ -76,7 +76,7 @@ discard block |
||
| 76 | 76 | */ |
| 77 | 77 | public function registerEngineResolver() |
| 78 | 78 | { |
| 79 | - $this->app->singleton('view.engine.resolver', function () { |
|
| 79 | + $this->app->singleton('view.engine.resolver', function() { |
|
| 80 | 80 | $resolver = new EngineResolver; |
| 81 | 81 | |
| 82 | 82 | // Next, we will register the various view engines with the resolver so that the |
@@ -99,13 +99,13 @@ discard block |
||
| 99 | 99 | // The Compiler engine requires an instance of the CompilerInterface, which in |
| 100 | 100 | // this case will be the Blade compiler, so we'll first create the compiler |
| 101 | 101 | // instance to pass into the engine so it can compile the views properly. |
| 102 | - $this->app->singleton('vibro.compiler', function () { |
|
| 102 | + $this->app->singleton('vibro.compiler', function() { |
|
| 103 | 103 | return new VibroCompiler( |
| 104 | 104 | $this->app['files'], $this->app['config']['view.compiled'] |
| 105 | 105 | ); |
| 106 | 106 | }); |
| 107 | 107 | |
| 108 | - $resolver->register('vibro', function () { |
|
| 108 | + $resolver->register('vibro', function() { |
|
| 109 | 109 | return new CompilerEngine($this->app['vibro.compiler']); |
| 110 | 110 | }); |
| 111 | 111 | } |