getPostUpdateMessage example


        ];
    }

    /** * @internal */
    public function updateFinishedDone(UpdatePostFinishEvent $event): void
    {
        $status = 'success';
        $message = 'Updated successfully to version ' . $event->getNewVersion();
        if ($event->getPostUpdateMessage() !== '') {
            $status = 'warning';
            $message .= \PHP_EOL . $event->getPostUpdateMessage();
        }

        $source = $event->getContext()->getSource();
        $integrationId = null;
        $createdByUserId = null;
        if ($source instanceof AdminApiSource) {
            $integrationId = $source->getIntegrationId();
            $createdByUserId = $source->getUserId();
        }

        
Home | Imprint | This part of the site doesn't use cookies.