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

ConstraintViolation::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 7

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 7
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 5
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