Completed
Push — master ( 76ac09...8c1d79 )
by Aimeos
04:15
created

LocaleController   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A selectComponentAction() 0 4 1
1
<?php
2
3
/**
4
 * @license MIT, http://opensource.org/licenses/MIT
5
 * @copyright Aimeos (aimeos.org), 2014-2016
6
 * @package symfony
7
 * @subpackage Controller
8
 */
9
10
11
namespace Aimeos\ShopBundle\Controller;
12
13
use Symfony\Component\HttpFoundation\Response;
14
15
16
/**
17
 * Aimeos controller for locale related functionality.
18
 *
19
 * @package symfony
20
 * @subpackage Controller
21
 */
22
class LocaleController extends AbstractController
23
{
24
	/**
25
	 * Returns the output of the locale select component
26
	 *
27
	 * @return Response Response object containing the generated output
28
	 */
29
	public function selectComponentAction()
30
	{
31
		return $this->getOutput( 'locale/select' );
32
	}
33
}
34