Completed
Push — master ( a968e3...284ab6 )
by Pierre
03:16
created

Config   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 28
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 4
c 1
b 0
f 0
dl 0
loc 28
ccs 0
cts 4
cp 0
rs 10
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A auth() 0 3 1
A __construct() 0 3 1
1
<?php
2
3
namespace App\Component\Auth\Adapters;
4
5
use Nymfonya\Component\Container;
6
use App\Component\Auth\AdapterInterface;
7
8
class Config implements AdapterInterface
9
{
10
11
    /**
12
     * container
13
     *
14
     * @var Container
15
     */
16
    protected $container;
17
18
    /**
19
     * instanciate
20
     *
21
     * @param Container $container
22
     */
23
    public function __construct(Container $container)
24
    {
25
        $this->container = $container;
26
    }
27
28
    /**
29
     * auth process
30
     *
31
     * @return array
32
     */
33
    public function auth(string $login, string $password): array
34
    {
35
        return [];
36
    }
37
}
38