Completed
Push — master ( 3af5ad...f60e47 )
by Sandro
10s
created

mandatoryOptions()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
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
declare(strict_types = 1);
11
12
namespace InteropTest\Config\TestAsset;
13
14
use Interop\Config\ConfigurationTrait;
15
use Interop\Config\RequiresConfigId;
16
use Interop\Config\RequiresMandatoryOptions;
17
18
class ConnectionMandatoryRecursiveArrayIteratorContainerIdConfiguration implements RequiresConfigId, RequiresMandatoryOptions
19
{
20
    use ConfigurationTrait;
21
22
    /**
23
     * @interitdoc
24
     */
25
    public function dimensions(): iterable
26
    {
27
        return ['doctrine', 'connection'];
28
    }
29
30
    /**
31
     * @interitdoc
32
     */
33
    public function mandatoryOptions(): iterable
34
    {
35
        return ['params' => ['user', 'dbname'], 'driverClass'];
36
    }
37
}
38