/** * Creates a new datetime element. * * @param array $attributes The attributes that should be assigned to the datetime element. */ public function __construct(array $attributes) { parent::__construct($attributes); $this->type = 'datetime'; }
/** * Creates a new number form element. * * @param array $attributes The attributes that should be assigned to the number element. */ public function __construct(array $attributes) { parent::__construct($attributes); $this->type = 'number'; }