Dumplie\Metadata\Schema\Field\DateTimeField::__construct PHP Method

__construct() public method

public __construct ( DateTimeInterface $default = null, boolean $nullable = true, array $options = [], string $format = 'c' )
$default DateTimeInterface
$nullable boolean
$options array
$format string
    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;
    }