DateTime.php in Zircon Profile 8
File
vendor/symfony/validator/Constraints/DateTime.php
View source
<?php
namespace Symfony\Component\Validator\Constraints;
use Symfony\Component\Validator\Constraint;
class DateTime extends Constraint {
const INVALID_FORMAT_ERROR = 1;
const INVALID_DATE_ERROR = 2;
const INVALID_TIME_ERROR = 3;
protected static $errorNames = array(
self::INVALID_FORMAT_ERROR => 'INVALID_FORMAT_ERROR',
self::INVALID_DATE_ERROR => 'INVALID_DATE_ERROR',
self::INVALID_TIME_ERROR => 'INVALID_TIME_ERROR',
);
public $message = 'This value is not a valid datetime.';
}
Classes
Name |
Description |
DateTime |
@Target({"PROPERTY", "METHOD", "ANNOTATION"}) |