get('secureContext.invoice-pay'); } public function setContext(string $property, $value): array { $clone = session()->pull('secureContext.invoice-pay', default: []); data_set($clone, $property, $value); session()->put('secureContext.invoice-pay', $clone); $this->dispatch(self::CONTEXT_UPDATE); return $clone; } public function resetContext(): void { session()->forget('secureContext.invoice-pay'); } }