Merx

$pricingRules->findByKey()

Find a single element by key (id)

$pricingRules->findByKey(string $key): TValue|null

Parameters

Name Type Default
$key string -

Return type

TValue or null

Parent class

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