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