@@ -18,23 +18,23 @@ |
||
| 18 | 18 | |
| 19 | 19 | $this['LocalFile'] = getenv("NoaaLocalFilePath"); |
| 20 | 20 | |
| 21 | - $this['NoaaAlertManager'] = function ($c) { |
|
| 21 | + $this['NoaaAlertManager'] = function($c) { |
|
| 22 | 22 | return new NoaaAlertManager($c['XmlProvider'], $c['IndexParser']); |
| 23 | 23 | }; |
| 24 | 24 | |
| 25 | - $this['XmlProvider'] = function ($c) { |
|
| 25 | + $this['XmlProvider'] = function($c) { |
|
| 26 | 26 | return $c['XmlProviderFactory']->getXmlProvider(); |
| 27 | 27 | }; |
| 28 | 28 | |
| 29 | - $this['XmlProviderFactory'] = function ($c) { |
|
| 29 | + $this['XmlProviderFactory'] = function($c) { |
|
| 30 | 30 | return new XmlProviderFactory($c['LocalFile']); |
| 31 | 31 | }; |
| 32 | 32 | |
| 33 | - $this['IndexParser'] = function ($c) { |
|
| 33 | + $this['IndexParser'] = function($c) { |
|
| 34 | 34 | return new IndexParser($c['XmlParser']); |
| 35 | 35 | }; |
| 36 | 36 | |
| 37 | - $this['XmlParser'] = function ($c) { |
|
| 37 | + $this['XmlParser'] = function($c) { |
|
| 38 | 38 | return new XmlParser(); |
| 39 | 39 | }; |
| 40 | 40 | } |