Passed
Branch master (487060)
by Wanderson
03:41 queued 01:00
created

Controller::backToIndex()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 3
rs 10
1
<?php
2
3
namespace Win\Controllers;
4
5
use Win\Application;
6
7
/**
8
 * Controller
9
 *
10
 * Responsável por processar as requisições e retornar a View
11
 */
12
abstract class Controller
13
{
14
	public Application $app;
15
	public ?string $layout = 'layout';
16
17
	/** @var string|string[] */
18
	public $title;
19
20
	/**
21
	 * Action Init
22
	 * @codeCoverageIgnore
23
	 */
24
	public function init()
25
	{
26
	}
27
}
28