1 | <?php |
||
2 | /** |
||
3 | * Configuration file for DI container. |
||
4 | */ |
||
5 | return [ |
||
6 | // Services to add to the container. |
||
7 | "services" => [ |
||
8 | "callurl" => [ |
||
9 | "shared" => true, |
||
10 | "callback" => function () { |
||
11 | $callUrl = new \Erjh17\CallUrl\CallUrl(); |
||
12 | $callUrl->setDI($this); |
||
0 ignored issues
–
show
Comprehensibility
Best Practice
introduced
by
![]() |
|||
13 | return $callUrl; |
||
14 | } |
||
15 | ], |
||
16 | ], |
||
17 | ]; |
||
18 |