Issues (69)

config/di/response.php (1 issue)

1
<?php
2
/**
3
 * Configuration file for DI container.
4
 */
5
return [
6
7
    // Services to add to the container.
8
    "services" => [
9
        "response" => [
10
            "shared" => true,
11
            //"callback" => "\Anax\Response\Response",
12
            "callback" => function () {
13
                $obj = new \Anax\Response\ResponseUtility();
14
                $obj->setDI($this);
0 ignored issues
show
Comprehensibility Best Practice introduced by
The variable $this seems to be never defined.
Loading history...
15
                return $obj;
16
            }
17
        ],
18
    ],
19
];
20