@@ -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 | "callurlmodel" => [ |
10 | 10 | "shared" => true, |
11 | - "callback" => function () { |
|
11 | + "callback" => function() { |
|
12 | 12 | $curlModel = new \Erjh17\CallUrlModel\CallUrlModel(); |
13 | 13 | $curlModel->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 |
@@ -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 |
@@ -8,7 +8,7 @@ |
||
8 | 8 | "services" => [ |
9 | 9 | "content" => [ |
10 | 10 | "shared" => true, |
11 | - "callback" => function () { |
|
11 | + "callback" => function() { |
|
12 | 12 | $content = new \Anax\Content\FileBasedContent(); |
13 | 13 | $content->setDI($this); |
14 | 14 |
@@ -7,7 +7,7 @@ |
||
7 | 7 | "view" => [ |
8 | 8 | "active" => false, |
9 | 9 | "shared" => true, |
10 | - "callback" => function () { |
|
10 | + "callback" => function() { |
|
11 | 11 | $view = new \Anax\View\ViewCollection(); |
12 | 12 | $view->setDI($this); |
13 | 13 |
@@ -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()); |
@@ -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 |
@@ -7,7 +7,7 @@ |
||
7 | 7 | "services" => [ |
8 | 8 | "request" => [ |
9 | 9 | "shared" => true, |
10 | - "callback" => function () { |
|
10 | + "callback" => function() { |
|
11 | 11 | $obj = new \Anax\Request\Request(); |
12 | 12 | $obj->init(); |
13 | 13 | return $obj; |