Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Tests | 6 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
53 | 4 | public function define(Container $di) |
|
54 | { |
||
55 | 4 | $di->setters[RouterContainer::class]['setRouteFactory'] = $di->newFactory( |
|
56 | Route\RadarRoute::class |
||
57 | 4 | ); |
|
58 | |||
59 | 4 | $di->set('jnjxp/cheka:acl', $di->lazyNew(Acl::class)); |
|
60 | |||
61 | 4 | $di->params[AuthorizedRule::class]['acl'] = $di->lazyGet('jnjxp/cheka:acl'); |
|
62 | 4 | } |
|
63 | |||
82 |