Completed
Branch master (dda5fd)
by Max
18:28
created

DummyMakeConfig   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 5
c 0
b 0
f 0
dl 0
loc 14
rs 10
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
A method() 0 3 1
1
<?php
2
/*
3
 * @copyright (c) 2019 Mendel <[email protected]>
4
 * @license see license.txt
5
 */
6
7
namespace drycart\di\tests\dummy;
8
use drycart\di\MagicStoreTrait;
9
10
/**
11
 * Description of Dummy2
12
 *
13
 * @author mendel
14
 */
15
class DummyMakeConfig
16
{
17
    public $dummy;
18
    
19
    use MagicStoreTrait;
20
    
21
    public function __construct(DummyToMake $dummy, int $intDummy)
22
    {
23
        $this->_store(get_defined_vars());
24
    }
25
    
26
    public function method(?int $i, DummyToMake $dummy) : DummyToMake
27
    {
28
        return $dummy;
29
    }
30
}
31