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

DummyMakeConfig::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
c 0
b 0
f 0
nc 1
nop 2
dl 0
loc 3
rs 10
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