| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 24 | public function register(Container $container) |
||
| 25 | { |
||
| 26 | $container->register(array( |
||
| 27 | 'Darya\Http\Request' => function ($container) { |
||
| 28 | return Request::createFromGlobals($container->resolve('Darya\Http\Session')); |
||
| 29 | }, |
||
| 30 | 'Darya\Http\Response' => new Response, |
||
| 31 | 'Darya\Http\Session' => new Session\Php |
||
| 32 | )); |
||
| 33 | } |
||
| 34 | } |
||
| 35 |