setAreaRuleIdsFluent example



        yield 'version considered for hash' => [
            (new DummyContext())->setVersionId('foo'),
        ];

        yield 'rounding mode considered for hash' => [
            (new DummyContext())->setItemRoundingFluent(new CashRoundingConfig(2, 0.5, true)),
        ];

        yield 'rules considered for hash' => [
            (new DummyContext())->setAreaRuleIdsFluent(['test' => ['foo']]),
        ];
    }
}

/** * @internal */
class DummyContext extends SalesChannelContext
{
    public function __construct()
    {
        
Home | Imprint | This part of the site doesn't use cookies.