| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 26 | public function register(Container $container) |
||
| 27 | { |
||
| 28 | $container->when(ApiClient::class)->needs('$token')->give(getenv('AUTH_TOKEN')); |
||
| 29 | $container->when(ApiClient::class)->needs(PayloadSerializer::class)->give(Serializer::class); |
||
| 30 | $container->when(ApiClient::class)->needs(PayloadResponseSerializer::class)->give(ResponseSerializer::class); |
||
| 31 | |||
| 32 | $container->bind(ClientInterface::class, HttpClient::class); |
||
| 33 | $container->bind(EventDispatcherInterface::class, EventDispatcher::class); |
||
| 34 | } |
||
| 35 | } |