LocaleController   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A selectComponentAction() 0 3 1
1
<?php
2
3
/**
4
 * @license LGPLv3, http://www.gnu.org/copyleft/lgpl.html
5
 * @copyright Aimeos (aimeos.org), 2015-2016
6
 * @package flow
7
 * @subpackage Controller
8
 */
9
10
11
namespace Aimeos\Shop\Controller;
12
13
use Neos\Flow\Annotations as Flow;
14
15
16
/**
17
 * Aimeos locale controller.
18
 * @package flow
19
 * @subpackage Controller
20
 */
21
class LocaleController extends AbstractController
22
{
23
	/**
24
	 * Returns the output of the locale select component
25
	 *
26
	 * @return string Rendered HTML for the body
27
	 */
28
	public function selectComponentAction()
29
	{
30
		$this->view->assign( 'output', $this->getOutput( 'locale/select' ) );
31
	}
32
}
33