Sets a single custom option.
Parameters
$keystringrequired- The option key.
$valuemixedrequired- The option value.
Source
public function setCustomOption(string $key, $value): void
{
$this->customOptions[$key] = $value;
}
Changelog
| Version | Description |
|---|---|
| 0.1.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.