element is something of a mystery. You can use it to specify a search engine box. Or to allow a reader to provide feedback. Most aggregators ignore it. */ public ?string $textInput = null; /** * @hour */ public ?string $skipHours = null; /** * @day */ public ?string $skipDays = null; /** * @return bool * @throws ReflectionException */ public function isValid(): bool { $annotation_validation = new Validator(); return $annotation_validation->isObjectValid($this); } /** * @return array */ public function toArray(): array { return get_object_vars($this); } }