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

FeaturedFlags::_getDBFlagsData()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 21
Code Lines 6

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 21
rs 9.3142
cc 1
eloc 6
nc 1
nop 1
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