Completed
Push — master ( 90a4d3...4d725e )
by Jean-Christophe
01:38
created

DateTimeValidator::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
namespace Ubiquity\contents\validation\validators\dates;
4
5
6
class DateTimeValidator extends AbstractDateTimeValidator {
7
	public function __construct(){
8
		$this->ref='Y-m-d H:i:s';
9
		$this->message="This value is not a valid datetime according to the format `{ref}`";
10
	}
11
}
12
13