value; } /** * @return ValidationRules */ public function rules(): array { return [ 'url' => ['required', 'string', 'url'], 'directory' => ['nullable', 'string'], 'filename' => ['nullable', 'string'], 'use_header' => ['boolean'], 'foreground' => ['boolean'], ]; } }