$event->updateArgument()
Updates a given argument with a new value
$event->updateArgument(string $name, mixed $value): void
Parameters
| Name | Type | Default |
|---|---|---|
| $name * | string |
– |
| $value * | mixed |
– |
Exceptions
| Type | Description |
|---|---|
Kirby\Exception\InvalidArgumentException |