Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
n/a
0 / 0
n/a
0 / 0
CRAP
n/a
0 / 0
ExchangeRateServiceProvider
n/a
0 / 0
n/a
0 / 0
2
n/a
0 / 0
 register
n/a
0 / 0
n/a
0 / 0
2
1<?php
2namespace Apie\ExchangeRate;
3
4use Apie\ServiceProviderGenerator\UseGeneratedMethods;
5use Illuminate\Support\ServiceProvider;
6
7/**
8 * This file is generated with apie/service-provider-generator from file: exchangerate.yaml
9 * @codeCoverageIgnore
10 */
11class ExchangeRateServiceProvider extends ServiceProvider
12{
13    use UseGeneratedMethods;
14
15    public function register()
16    {
17        $this->registerSingleton(
18            \Apie\ExchangeRate\ExchangeRateService::class,
19            function ($app) {
20                return new \Apie\ExchangeRate\ExchangeRateService(
21                    $app->bound('http_client') ? $app->make('http_client') : null
22                );
23            }
24        );
25        
26    }
27}