Completed
Push — master ( f8bd36...f2dc96 )
by Jean-Christophe
01:33
created

ConstraintViolation   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 7 1
1
<?php
2
3
namespace Ubiquity\contents\validation\validators;
4
5
class ConstraintViolation {
6
	protected $message;
7
	protected $value;
8
	protected $member;
9
	protected $validatorType;
10
	protected $severity;
11
	
12
	public function __construct($message,$value,$member,$validatorType,$severity){
13
		$this->message=$message;
14
		$this->severity=$severity;
15
		$this->value=$value;
16
		$this->member=$member;
17
		$this->validatorType=$validatorType;
18
	}
19
}
20
21