| Total Complexity | 3 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | class MessageProvider implements ProviderInterface |
||
| 15 | { |
||
| 16 | const PSR_REQUEST = 'Psr\Http\Message\ServerRequestInterface'; |
||
| 17 | |||
| 18 | const PSR_RESPONSE = 'Psr\Http\Message\ResponseInterface'; |
||
| 19 | |||
| 20 | const ZAPHEUS_REQUEST = 'Zapheus\Http\Message\RequestInterface'; |
||
| 21 | |||
| 22 | const ZAPHEUS_RESPONSE = 'Zapheus\Http\Message\ResponseInterface'; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * Registers the bindings in the container. |
||
| 26 | * |
||
| 27 | * @param \Zapheus\Container\WritableInterface $container |
||
| 28 | * @return \Zapheus\Container\ContainerInterface |
||
| 29 | */ |
||
| 30 | 3 | public function register(WritableInterface $container) |
|
| 51 |