getContactFormData example



        Feature::triggerDeprecationOrThrow(
            'v6.6.0.0',
            Feature::deprecatedMethodMessage(self::class, __METHOD__, 'v6.6.0.0', 'Use ScalarValuesStorer instead')
        );

        if (!$event instanceof ContactFormDataAware || isset($stored[ContactFormDataAware::CONTACT_FORM_DATA])) {
            return $stored;
        }

        $stored[ContactFormDataAware::CONTACT_FORM_DATA] = $event->getContactFormData();

        return $stored;
    }

    public function restore(StorableFlow $storable): void
    {
        if (Feature::isActive('v6.6.0.0')) {
            return;
        }

        Feature::triggerDeprecationOrThrow(
            
Home | Imprint | This part of the site doesn't use cookies.