Passed
Push — PSR-11-2 ( e86d47...dfb1a3 )
by Nikolaos
05:09
created

Config   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 2
eloc 1
c 1
b 0
f 0
dl 0
loc 18
ccs 3
cts 3
cp 1
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A define() 0 2 1
A modify() 0 2 1
1
<?php
2
3
/**
4
 * This file is part of the Phalcon Framework.
5
 *
6
 * (c) Phalcon Team <[email protected]>
7
 *
8
 * For the full copyright and license information, please view the LICENSE.txt
9
 * file that was distributed with this source code.
10
 *
11
 * Implementation of this file has been influenced by AuraPHP
12
 *
13
 * @link    https://github.com/auraphp/Aura.Di
14
 * @license https://github.com/auraphp/Aura.Di/blob/4.x/LICENSE
15
 */
16
17
declare(strict_types=1);
18
19
namespace Phalcon\Container;
20
21
use Phalcon\Container;
22
use Phalcon\Container\Config\ConfigInterface;
23
24
/**
25
 * A set of Container configuration instructions.
26
 */
27
class Config implements ConfigInterface
28
{
29
    /**
30
     * Define params, setters, and services before the Container is locked.
31
     *
32
     * @param Container $container The DI container.
33
     */
34 1
    public function define(Container $container): void
35
    {
36 1
    }
37
38
    /**
39
     * Modify service objects after the Container is locked.
40
     *
41
     * @param Container $container The DI container.
42
     */
43 1
    public function modify(Container $container): void
44
    {
45 1
    }
46
}
47