'permit_empty|numeric', ]; protected ?int $defaultValue = null; public function render(string $name, mixed $value, string $class = ''): string { $isRequired = $this->optional ? 'false' : 'true'; return << HTML; } }