Valdi\Validator\DateTime

class DateTime

Validator for date time with an optional given format. For the format, see: http://php.net/manual/en/datetime.createfromformat.php

isValid($value, $parameters)

{@inheritdoc}

Parameters:
  • $value
  • $parameters
getInvalidDetails()

{@inheritdoc}