Passed
Push — master ( 4d0f3d...b95030 )
by Jean-Christophe
02:31
created

TestControllerInitialize   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 5
dl 0
loc 10
rs 10
c 0
b 0
f 0
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A initialize() 0 3 1
A finalize() 0 3 1
1
<?php
2
3
namespace tests\unit\controllers\controllers;
4
5
class TestControllerInitialize extends TestController {
6
7
	public function initialize() {
8
		parent::initialize ();
9
		echo 'initialize!-';
10
	}
11
12
	public function finalize() {
13
		parent::finalize ();
14
		echo '-finalize!';
15
	}
16
}
17
18