$argument->resolve()
Return the argument value and resolves nested objects to scaler types
$argument->resolve(object|array $data = [ ]): mixed
Parameters
| Name | Type | Default |
|---|---|---|
| $data | objectorarray |
[ ]
|
Return type
mixed
This method modifies the existing $argument object it is applied to and returns it again.