Steverobbins_Redismanager_Model_Backend_Redis_Cm   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 12
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A getRedis() 0 4 1
1
<?php
2
/**
3
 * Redis Management Module
4
 *
5
 * PHP Version 5
6
 *
7
 * @category  Steverobbins
8
 * @package   Steverobbins_Redismanager
9
 * @author    Steve Robbins <[email protected]>
10
 * @copyright 2014 Steve Robbins
11
 * @license   http://creativecommons.org/licenses/by/3.0/deed.en_US Creative Commons Attribution 3.0 Unported License
12
 * @link      https://github.com/steverobbins/Magento-Redismanager
13
 */
14
15
/**
16
 * Redis client wrapper for CM
17
 *
18
 * @category  Steverobbins
19
 * @package   Steverobbins_Redismanager
20
 * @author    Steve Robbins <[email protected]>
21
 * @copyright 2014 Steve Robbins
22
 * @license   http://creativecommons.org/licenses/by/3.0/deed.en_US Creative Commons Attribution 3.0 Unported License
23
 * @link      https://github.com/steverobbins/Magento-Redismanager
24
 */
25
class Steverobbins_Redismanager_Model_Backend_Redis_Cm extends Cm_Cache_Backend_Redis
26
{
27
    /**
28
     * Get redis client
29
     *
30
     * @return Credis_Client
31
     */
32
    public function getRedis()
33
    {
34
        return $this->_redis;
35
    }
36
}
37