GuzzleApiServiceProvider   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 20
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 2
dl 0
loc 20
rs 10
c 0
b 0
f 0
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A register() 0 3 1
A boot() 0 2 1
1
<?php
2
declare(strict_types=1);
3
4
namespace CmdrSharp\GuzzleApi;
5
6
use Illuminate\Support\ServiceProvider;
7
8
class GuzzleApiServiceProvider extends ServiceProvider
9
{
10
    /**
11
     * Bootstrap the application services.
12
     *
13
     * @return void
14
     */
15
    public function boot(): void
16
    {
17
        //
18
    }
19
20
    /**
21
     * Register any application services.;
22
     *
23
     * @return void
24
     */
25
    public function register(): void
26
    {
27
        $this->app->bind(RequestInterface::class, Client::class);
28
    }
29
}
30