@@ -6,7 +6,7 @@ |
||
6 | 6 | "services" => [ |
7 | 7 | "url" => [ |
8 | 8 | "shared" => true, |
9 | - "callback" => function () { |
|
9 | + "callback" => function() { |
|
10 | 10 | $url = new \Anax\Url\Url(); |
11 | 11 | $request = $this->get("request"); |
12 | 12 | $url->setSiteUrl($request->getSiteUrl()); |
@@ -15,7 +15,7 @@ |
||
15 | 15 | // Callback executed when service is activated |
16 | 16 | // Create the service, load its configuration (if any) |
17 | 17 | // and set it up. |
18 | - "callback" => function () { |
|
18 | + "callback" => function() { |
|
19 | 19 | $weatherService = new \Asti\Weather\WeatherService(); |
20 | 20 | |
21 | 21 | // Load the configuration files |
@@ -9,7 +9,7 @@ |
||
9 | 9 | "response" => [ |
10 | 10 | "shared" => true, |
11 | 11 | //"callback" => "\Anax\Response\Response", |
12 | - "callback" => function () { |
|
12 | + "callback" => function() { |
|
13 | 13 | $obj = new \Anax\Response\ResponseUtility(); |
14 | 14 | $obj->setDI($this); |
15 | 15 | return $obj; |
@@ -8,7 +8,7 @@ |
||
8 | 8 | "services" => [ |
9 | 9 | "cache" => [ |
10 | 10 | "shared" => true, |
11 | - "callback" => function () { |
|
11 | + "callback" => function() { |
|
12 | 12 | $cache = new \Anax\Cache\FileCache(); |
13 | 13 | |
14 | 14 | // Load the configuration files |
@@ -6,7 +6,7 @@ |
||
6 | 6 | "services" => [ |
7 | 7 | "textfilter" => [ |
8 | 8 | "shared" => true, |
9 | - "callback" => function () { |
|
9 | + "callback" => function() { |
|
10 | 10 | $filter = new \Anax\TextFilter\TextFilter(); |
11 | 11 | if (is_dir(ANAX_INSTALL_PATH . "/content")) { |
12 | 12 | $filter->setFilterConfig("frontmatter", [ |
@@ -8,7 +8,7 @@ |
||
8 | 8 | "services" => [ |
9 | 9 | "configuration" => [ |
10 | 10 | "shared" => true, |
11 | - "callback" => function () { |
|
11 | + "callback" => function() { |
|
12 | 12 | $config = new \Anax\Configure\Configuration(); |
13 | 13 | $dirs = require ANAX_INSTALL_PATH . "/config/configuration.php"; |
14 | 14 | $config->setBaseDirectories($dirs); |
@@ -8,7 +8,7 @@ |
||
8 | 8 | "session" => [ |
9 | 9 | "active" => defined("ANAX_WITH_SESSION") && ANAX_WITH_SESSION, // true|false |
10 | 10 | "shared" => true, |
11 | - "callback" => function () { |
|
11 | + "callback" => function() { |
|
12 | 12 | $session = new \Anax\Session\Session(); |
13 | 13 | |
14 | 14 | // Load the configuration files |
@@ -8,7 +8,7 @@ |
||
8 | 8 | "services" => [ |
9 | 9 | "page" => [ |
10 | 10 | "shared" => true, |
11 | - "callback" => function () { |
|
11 | + "callback" => function() { |
|
12 | 12 | $page = new \Anax\Page\Page(); |
13 | 13 | $page->setDI($this); |
14 | 14 |
@@ -6,7 +6,7 @@ |
||
6 | 6 | "services" => [ |
7 | 7 | "router" => [ |
8 | 8 | "shared" => true, |
9 | - "callback" => function () { |
|
9 | + "callback" => function() { |
|
10 | 10 | $router = new \Anax\Route\Router(); |
11 | 11 | $router->setDI($this); |
12 | 12 |