AuthBootstrap::boot()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 3
nc 1
nop 1
dl 0
loc 5
rs 9.4285
c 0
b 0
f 0
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