StaticTemplateController   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 7
c 0
b 0
f 0
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A staticTemplateAction() 0 4 1
1
<?php
2
/**
3
 *
4
 * @copyright (c) 2014 phpBB Group
5
 * @license http://opensource.org/licenses/gpl-3.0.php GNU General Public License v3
6
 * @author PayBas
7
 *
8
 */
9
10
namespace AppBundle\Controller;
11
12
use Symfony\Bundle\FrameworkBundle\Controller\TemplateController;
13
14
class StaticTemplateController extends TemplateController
15
{
16
	public function staticTemplateAction($template, $maxAge = 86400, $sharedAge = 86400, $private = null)
17
	{
18
		return $this->templateAction($template, $maxAge, $sharedAge, $private);
19
	}
20
}
21