Currently date time could be validated as string value. Add a method for validation it as PHP DateTime class as well.
It's very often to have nullabe and required methods in validation. Add wrapper methods for such operations. It will require renaming for required to isRequired to be consistent with nullable / required and isNull / isRequired pairs.
Currently date time could be validated as string value. Add a method for validation it as PHP
DateTime
class as well.It's very often to have
nullabe
andrequired
methods in validation. Add wrapper methods for such operations. It will require renaming forrequired
toisRequired
to be consistent withnullable
/required
andisNull
/isRequired
pairs.