Passed
Push — master ( abb149...4beee9 )
by Iman
02:12
created

ViewSituationProvider   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 6
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 1
eloc 3
dl 0
loc 6
ccs 3
cts 3
cp 1
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A register() 0 4 1
1
<?php
2
3
namespace Imanghafoori\HeyMan\WatchingStrategies\Views;
4
5
use Imanghafoori\HeyMan\Switching\Consider;
6
use Imanghafoori\HeyMan\WatchingStrategies\SituationsProxy;
7
8
9
class ViewSituationProvider
10
{
11 110
    public static function register(): void
12
    {
13 110
        Consider::$methods['viewChecks'] = ViewEventListener::class;
14 110
        SituationsProxy::$situations[] = ViewSituations::class;
15 110
    }
16
}
17