Merx

$orderPage->increment()

Increment a given field value

$orderPage->increment(string $field, int $by = 1, null|int $max = null): Kirby\Cms\ModelWithContent

Parameters

Name Type Default
$field string -
$by int 1
$max null or int null

Return type

Kirby\Cms\ModelWithContent

Parent class

Wagnerwagner\Merx\OrderPage inherited from Kirby\Cms\ModelWithContent