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

Example::getController()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 1 Features 0
Metric Value
c 1
b 1
f 0
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
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