SupportServiceProvider   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 3

Importance

Changes 0
Metric Value
wmc 1
lcom 1
cbo 3
dl 0
loc 9
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A register() 0 6 1
1
<?php namespace Nwidart\LaravelBroadway\Broadway;
2
3
use Broadway\UuidGenerator\Rfc4122\Version4Generator;
4
use Illuminate\Support\ServiceProvider;
5
6
class SupportServiceProvider extends ServiceProvider
7
{
8
    public function register()
9
    {
10
        $this->app->bind(\Broadway\UuidGenerator\UuidGeneratorInterface::class, function () {
11
            return new Version4Generator();
12
        });
13
    }
14
}
15