Completed
Push — master ( 087d89...83ffdf )
by
unknown
02:32
created

FeaturedFlags::_checkParams()   A

Complexity

Conditions 4
Paths 3

Size

Total Lines 13
Code Lines 7

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 13
rs 9.2
cc 4
eloc 7
nc 3
nop 2
1
<?php
2
3
namespace FeaturedFlags;
4
5
use PDO;
6
use Redis;
7
8
interface FeaturedFlags
9
{
10
    public function __construct(PDO $pdo, Redis $redis = null, $date = null);
11
12
    public static function getInstance(PDO $pdo, Redis $redis = null);
13
14
    public function isEnabled($flagName, $filterParams = null);
15
16
    public function getEnabledValues($flagName, $filterParams = null);
17
18
    public function setRedis(Redis $redis);
19
}
20