Total Complexity | 5 |
Total Lines | 42 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
15 | class ListLengthCheck implements Check |
||
16 | { |
||
17 | const IDENTFIER = 'base:database:redis:listLength'; |
||
18 | |||
19 | private $host; |
||
20 | private $port; |
||
21 | private $auth; |
||
22 | private $listName; |
||
23 | |||
24 | private $maxLength; |
||
25 | |||
26 | public function init($listName, $maxLength, $auth = null, $host = 'localhost', $port = '6379') |
||
34 | } |
||
35 | |||
36 | public function run() |
||
51 | } |
||
52 | } |
||
53 | |||
54 | public function getIdentifier() |
||
59 |