Merx

$pricingRules->prepend()

Prepends an element to the data array

$pricingRules->prepend(string|TValue ...$args): Kirby\Cms\Collection

Parameters

Name Type Default
...$args string or TValue -

Return type

Kirby\Cms\Collection

Description

$collection->prepend($object);
$collection->prepend('key', $object);

Parent class

Wagnerwagner\Merx\PricingRules inherited from Kirby\Cms\Collection