ModelConfig::setCustomOption( string $key, mixed $value )

In this article

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

VersionDescription
0.1.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.