Completed
Push — master ( 3c1051...50a607 )
by Iman
09:32
created

BaseSituation::__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
nc 1
nop 1
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace Imanghafoori\HeyMan\Situations;
4
5
use Imanghafoori\HeyMan\Normilizers\InputNormalizer;
6
use Imanghafoori\HeyMan\Chain;
7
8
abstract class BaseSituation
9
{
10
    use InputNormalizer;
11
12
    protected $chain;
13
14
    /**
15
     * HeyMan constructor.
16
     *
17
     * @param Chain $chain
18
     */
19
    public function __construct(Chain $chain)
20
    {
21
        $this->chain = $chain;
22
    }
23
}