AuthBootstrap   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

Changes 0
Metric Value
dl 0
loc 8
rs 10
c 0
b 0
f 0
wmc 1
lcom 0
cbo 2

1 Method

Rating   Name   Duplication   Size   Complexity  
A boot() 0 5 1
1
<?php
2
3
namespace App\Bootstrap;
4
5
use App\Auth\HashManager;
6
use Core\Bootstrap\BootstrapInterface;
7
use App\Auth\AuthManager;
8
9
class AuthBootstrap implements BootstrapInterface
10
{
11
    public function boot(array $env)
12
    {
13
        HashManager::setConfig($env['hashProvider']);
14
        AuthManager::setConfig($env['auth']);
15
    }
16
}
17