public function __construct(\DateTimeInterface $default = null, bool $nullable = true, array $options = [], string $format = 'c') { $this->nullable = $nullable; $this->default = $default; $this->options = $options; $this->format = $format; }