Completed
Push — master ( 098c1d...89670e )
by Jacob
02:08
created

AbstractFactory   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 2
c 1
b 0
f 0
lcom 0
cbo 0
dl 0
loc 16
ccs 5
cts 5
cp 1
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
A getConfig() 0 4 1
1
<?php
2
/**
3
 * @copyright Copyright (c) 2016 Canis.io
4
 * @license   MIT
5
 */
6
namespace Canis\Lumen\Jwt\Adapters;
7
8
use Canis\Lumen\Jwt\Contracts\AdapterFactory;
9
10
abstract class AbstractFactory
11
    implements AdapterFactory
0 ignored issues
show
Coding Style introduced by
The implements keyword must be on the same line as the class name
Loading history...
12
{
13
    private $config;
14
15 2
    public function __construct(array $config = [])
16
    {
17 2
        $this->config = $config;
18 2
    }
19
20 2
    protected function getConfig()
21
    {
22 2
        return $this->config;
23
    }
24
25
}
26