19declare(strict_types=1);
50 foreach (
$options as $key => $value) {
51 $clone->addOption($key, $value);
64 public function addOption(
string $key, $value): void
66 $this->options[$key] = $value;
74 return (isset($this->options[$key])) ? $this->options[$key] :
null;
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
addOption(string $key, $value)
getId()
Get the ID of this signal.
withOptions(array $options)
Get a Signal like this, but provide it with a set of options.
getOptions()
Get the options of this signal.