SilverShop\Cart\OrderTotalCalculator::getModifier
Retrieve a modifier of a given class for the order.
Modifier will be retrieved from database if it already exists, or created if it is always required.
Signature
public function getModifier(string
$className,
[boolean
$forcecreate = false] )
Parameters
$className
— string$forcecreate
— boolean- - force the modifier to be created.