Completed
Pull Request — master (#29)
by Sandro
06:42
created

ConnectionMandatoryContainerIdConfiguration   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 20
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 3
Bugs 1 Features 1
Metric Value
wmc 2
c 3
b 1
f 1
lcom 0
cbo 1
dl 0
loc 20
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A dimensions() 0 4 1
A mandatoryOptions() 0 4 1
1
<?php
2
/**
3
 * Sandro Keil (https://sandro-keil.de)
4
 *
5
 * @link      http://github.com/sandrokeil/interop-config for the canonical source repository
6
 * @copyright Copyright (c) 2015-2016 Sandro Keil
7
 * @license   http://github.com/sandrokeil/interop-config/blob/master/LICENSE.md New BSD License
8
 */
9
10
namespace InteropTest\Config\TestAsset;
11
12
use Interop\Config\ConfigurationTrait;
13
use Interop\Config\RequiresConfigId;
14
use Interop\Config\RequiresMandatoryOptions;
15
16
class ConnectionMandatoryContainerIdConfiguration implements RequiresConfigId, RequiresMandatoryOptions
17
{
18
    use ConfigurationTrait;
19
20
    /**
21
     * @interitdoc
22
     */
23
    public function dimensions()
24
    {
25
        return ['doctrine', 'connection'];
26
    }
27
28
    /**
29
     * @interitdoc
30
     */
31
    public function mandatoryOptions()
32
    {
33
        return ['driverClass', 'params'];
34
    }
35
}
36