Completed
Branch master (4ffab1)
by Aimeos
02:31
created

Example   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 2
Bugs 1 Features 0
Metric Value
wmc 2
c 2
b 1
f 0
lcom 0
cbo 1
dl 0
loc 15
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getContext() 0 4 1
A getController() 0 4 1
1
<?php
2
3
/**
4
 * @copyright Metaways Infosystems GmbH, 2012
5
 * @license LGPLv3, http://opensource.org/licenses/LGPL-3.0
6
 * @copyright Aimeos (aimeos.org), 2015-2016
7
 * @package Controller
8
 * @subpackage Frontend
9
 */
10
11
12
namespace Aimeos\Controller\Frontend\Common\Decorator;
13
14
15
/**
16
 * Example decorator for frontend controllers
17
 *
18
 * @package Controller
19
 * @subpackage Frontend
20
 */
21
class Example
22
	extends \Aimeos\Controller\Frontend\Common\Decorator\Base
2 ignored issues
show
Coding Style introduced by
The extends keyword must be on the same line as the class name
Loading history...
Coding Style introduced by
Expected 0 spaces between "Base" and comma; 1 found
Loading history...
23
	implements \Aimeos\Controller\Frontend\Common\Decorator\Iface
1 ignored issue
show
Coding Style introduced by
The implements keyword must be on the same line as the class name
Loading history...
24
{
25
	public function getContext()
26
	{
27
		return parent::getContext();
28
	}
29
30
31
	public function getController()
32
	{
33
		return parent::getController();
34
	}
35
}
36