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

FeaturedFlags::_getStmt()   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 8
Code Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 8
rs 9.4285
cc 2
eloc 5
nc 2
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