@@ -97,30 +97,30 @@ |
||
97 | 97 | |
98 | 98 | $container = new Container; |
99 | 99 | |
100 | - $container->singleton('files', function () { |
|
100 | + $container->singleton('files', function() { |
|
101 | 101 | return new Filesystem; |
102 | 102 | }); |
103 | 103 | |
104 | - $container->singleton('view.finder', function ($app) use ($viewPaths) { |
|
104 | + $container->singleton('view.finder', function($app) use ($viewPaths) { |
|
105 | 105 | return new FileViewFinder($app['files'], $viewPaths); |
106 | 106 | }); |
107 | 107 | |
108 | - $container->singleton('blade.compiler', function ($app) use ($cachePaths) { |
|
108 | + $container->singleton('blade.compiler', function($app) use ($cachePaths) { |
|
109 | 109 | return new BladeCompiler($app['files'], $cachePaths); |
110 | 110 | }); |
111 | 111 | |
112 | - $container->singleton('view.engine.resolver', function ($app) { |
|
112 | + $container->singleton('view.engine.resolver', function($app) { |
|
113 | 113 | $resolver = new EngineResolver; |
114 | 114 | |
115 | 115 | // Registrar Blade engine |
116 | - $resolver->register('blade', function () use ($app) { |
|
116 | + $resolver->register('blade', function() use ($app) { |
|
117 | 117 | return new CompilerEngine($app['blade.compiler']); |
118 | 118 | }); |
119 | 119 | |
120 | 120 | return $resolver; |
121 | 121 | }); |
122 | 122 | |
123 | - $container->singleton('view', function ($app) { |
|
123 | + $container->singleton('view', function($app) { |
|
124 | 124 | $resolver = $app['view.engine.resolver']; |
125 | 125 | $finder = $app['view.finder']; |
126 | 126 | $dispatcher = new Dispatcher($app); |