AbstractController   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
eloc 2
dl 0
loc 10
ccs 2
cts 2
cp 1
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A getPageManager() 0 3 1
1
<?php
2
/**
3
 * @author Gerard van Helden <[email protected]>
4
 * @copyright Zicht Online <http://zicht.nl>
5
 */
6
7
namespace Zicht\Bundle\PageBundle\Controller;
8
9
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
10
11
/**
12
 * Common utility base controller
13
 */
14
abstract class AbstractController extends Controller
15
{
16
    /**
17
     * Utility method that returns the page manager.
18
     *
19
     * @return \Zicht\Bundle\PageBundle\Manager\PageManager
20
     */
21 4
    public function getPageManager()
22
    {
23 4
        return $this->get('zicht_page.page_manager');
24
    }
25
}
26