Test Setup Failed
Push — master ( effcd8...9ff54b )
by Sebastian
05:21 queued 03:15
created

AbstractConnector   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
3
/**
4
 * Linna Framework.
5
 *
6
 * @author Sebastian Rapetti <[email protected]>
7
 * @copyright (c) 2017, Sebastian Rapetti
8
 * @license http://opensource.org/licenses/MIT MIT License
9
 */
10
declare(strict_types=1);
11
12
namespace Linna\Storage;
13
14
/**
15
 * Abstract Connector.
16
 */
17
class AbstractConnector
18
{
19
    /**
20
     * @var array Connection options
21
     */
22
    protected $options;
23
24
    /**
25
     * Constructor.
26
     *
27
     * @param array $options
28
     */
29
    public function __construct(array $options)
30
    {
31
        $this->options = $options;
32
    }
33
}
34