Skip to content

Kirby 5.0.4

$arguments->append()

Appends an element

$arguments->append(string|Kirby\Query\Argument ...$args): Kirby\Query\Arguments

Parameters

Name Type Default
...$args stringorKirby\Query\Argument no default value

Return type

Kirby\Query\Arguments

This method modifies the existing $arguments object it is applied to and returns it again.

Parent class

Kirby\Query\Arguments inherited from Kirby\Toolkit\Collection

Examples

$collection->append('key', $value);
$collection->append($value);