BaseController   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

Changes 1
Bugs 0 Features 1
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 10
c 1
b 0
f 1
ccs 0
cts 4
cp 0
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A getCacheTimeKeeper() 0 4 1
1
<?php
2
/**
3
 * AnimeDb package.
4
 *
5
 * @author    Peter Gribanov <[email protected]>
6
 * @copyright Copyright (c) 2011, Peter Gribanov
7
 * @license   http://opensource.org/licenses/GPL-3.0 GPL v3
8
 */
9
namespace AnimeDb\Bundle\AppBundle\Controller;
10
11
use AnimeDb\Bundle\CacheTimeKeeperBundle\Service\Keeper;
12
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
13
14
abstract class BaseController extends Controller
15
{
16
    /**
17
     * @return Keeper
18
     */
19
    protected function getCacheTimeKeeper()
20
    {
21
        return $this->get('cache_time_keeper');
22
    }
23
}
24