Completed
Push — master ( 196cd2...29d79e )
by Iman
15:10 queued 11:41
created

HeyMan::forget()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
ccs 2
cts 2
cp 1
crap 1
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace Imanghafoori\HeyMan;
4
5
use Imanghafoori\HeyMan\Situations\SituationsProxy;
6
use Imanghafoori\HeyMan\Switching\Turn;
7
8
class HeyMan
9
{
10
    use Turn;
11
12 14
    public function forget(): Forget
13
    {
14 14
        return new Forget();
15
    }
16
17 103
    public function __call($method, $args)
18
    {
19 103
        resolve(Chain::class)->writeDebugInfo(debug_backtrace(DEBUG_BACKTRACE_PROVIDE_OBJECT, 2));
20
21 103
        return  SituationsProxy::call($method, $args);
22
    }
23
}
24