Skip to content

Kirby 5.0.4

$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.

Parent class

Kirby\Query\Argument