Test Failed
Push — master ( 7c6e58...60f0f2 )
by Jean-Christophe
16:45
created

NoCsrfProtection   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Importance

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

3 Methods

Rating   Name   Duplication   Size   Complexity  
A clear() 0 1 1
A start() 0 1 1
A init() 0 1 1
1
<?php
2
3
namespace Ubiquity\utils\http\session\protection;
4
5
/**
6
 * To be Used only if no Csrf protection of the session is required.
7
 * with Startup::setSessionInstance(new PhpSession(new NoCsrfProtection())); in services.php
8
 * Ubiquity\utils\http\session\protection$NoCsrfProtection
9
 * This class is part of Ubiquity
10
 *
11
 * @author jc
12
 * @version 1.0.0
13
 *
14
 */
15
class NoCsrfProtection implements VerifySessionCsrfInterface {
16
17
	public function init() {
18
	}
19
20
	public function start() {
21
	}
22
23
	public function clear() {
24
	}
25
}
26