@@ -28,14 +28,14 @@ |
||
28 | 28 | |
29 | 29 | class Application extends App { |
30 | 30 | |
31 | - public function __construct(array $urlParams = array()) { |
|
32 | - parent::__construct('apporder', $urlParams); |
|
33 | - $container = $this->getContainer(); |
|
34 | - $container->registerService('ConfigService', function($c) { |
|
35 | - return new ConfigService( |
|
36 | - $c->query('Config'), |
|
37 | - $c->query('AppName') |
|
38 | - ); |
|
39 | - }); |
|
40 | - } |
|
31 | + public function __construct(array $urlParams = array()) { |
|
32 | + parent::__construct('apporder', $urlParams); |
|
33 | + $container = $this->getContainer(); |
|
34 | + $container->registerService('ConfigService', function($c) { |
|
35 | + return new ConfigService( |
|
36 | + $c->query('Config'), |
|
37 | + $c->query('AppName') |
|
38 | + ); |
|
39 | + }); |
|
40 | + } |
|
41 | 41 | } |