Passed
Push — master ( 46c3ee...445208 )
by Rafael
04:28
created

BackwardCompatibilityAwareTrait   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 1
dl 0
loc 13
ccs 0
cts 3
cp 0
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A setBCConfig() 0 3 1
1
<?php
2
/*******************************************************************************
3
 *  This file is part of the GraphQL Bundle package.
4
 *
5
 *  (c) YnloUltratech <[email protected]>
6
 *
7
 *  For the full copyright and license information, please view the LICENSE
8
 *  file that was distributed with this source code.
9
 ******************************************************************************/
10
11
namespace Ynlo\GraphQLBundle\DependencyInjection;
12
13
trait BackwardCompatibilityAwareTrait
14
{
15
    /**
16
     * @var array
17
     */
18
    protected $bcConfig = [];
19
20
    /**
21
     * @param array $config
22
     */
23
    public function setBCConfig(array $config): void
24
    {
25
        $this->bcConfig = $config;
26
    }
27
}
28