Blixter /
weather-module
| 1 | <?php |
||
| 2 | /** |
||
| 3 | * Configuration file to create router as $di service. |
||
| 4 | */ |
||
| 5 | |||
| 6 | return [ |
||
| 7 | "services" => [ |
||
| 8 | "ipvalidation" => [ |
||
| 9 | "active" => false, |
||
| 10 | "shared" => true, |
||
| 11 | "callback" => function () { |
||
| 12 | $ipvalidation = new \Blixter\IpValidate\IpValidation(); |
||
| 13 | $ipvalidation->setDI($this); |
||
|
0 ignored issues
–
show
Comprehensibility
Best Practice
introduced
by
Loading history...
|
|||
| 14 | |||
| 15 | return $ipvalidation; |
||
| 16 | }, |
||
| 17 | ], |
||
| 18 | ], |
||
| 19 | ]; |
||
| 20 |