Passed
Push — master ( 51f866...5cda7e )
by Iman
02:18
created

EloquentSituationProvider::getSituationProvider()   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
eloc 1
dl 0
loc 3
ccs 2
cts 2
cp 1
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
crap 1
1
<?php
2
3
namespace Imanghafoori\HeyMan\WatchingStrategies\EloquentModels;
4
5
class EloquentSituationProvider
6
{
7 110
    public function getListener()
8
    {
9 110
        return EloquentEventsListener::class;
10
    }
11
12 110
    public function getSituationProvider()
13
    {
14 110
        return EloquentSituations::class;
15
    }
16
17 110
    public function getForgetKey()
18
    {
19 110
        return 'eloquentChecks';
20
    }
21
}
22