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

()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 2
Bugs 0 Features 0
Metric Value
c 2
b 0
f 0
dl 0
loc 4
rs 10
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\ProvidesDefaultOptions;
16
use Interop\Config\RequiresConfig;
17
18
class ConnectionDefaultOptionsConfiguration implements RequiresConfig, ProvidesDefaultOptions
19
{
20
    use ConfigurationTrait;
21
22
    public function dimensions(): iterable
23
    {
24
        return ['doctrine', 'connection'];
25
    }
26
27
    public function defaultOptions(): array
28
    {
29
        return [
30
            'params' => [
31
                'host' => 'awesomehost',
32
                'port' => '4444',
33
            ],
34
        ];
35
    }
36
}
37