$event->argument()
Returns a specific event argument
$event->argument(string $name): mixed
Parameters
| Name | Type | Default |
|---|---|---|
| $namerequired | string |
no default value |
Return type
mixed
This method modifies the existing $event object it is applied to and returns it again.