fridalindgren91 /
ramverk1-module
| 1 | <?php |
||
| 2 | return [ |
||
| 3 | "services" => [ |
||
| 4 | "curl" => [ |
||
| 5 | "shared" => true, |
||
| 6 | "callback" => function () { |
||
| 7 | $getConfig = $this->get("configuration"); |
||
|
0 ignored issues
–
show
Comprehensibility
Best Practice
introduced
by
Loading history...
|
|||
| 8 | $curl = new \Anax\DI\Curl(); |
||
| 9 | $curl->setDi($this); |
||
| 10 | return $curl; |
||
| 11 | }, |
||
| 12 | ], |
||
| 13 | ], |
||
| 14 | ]; |
||
| 15 |