getMailTemplates example

public function getCreationTimestamp(): int
    {
        return 1689257577;
    }

    /** * @throws Exception */
    public function update(Connection $connection): void
    {
        $mailTemplates = $this->getMailTemplates($connection);

        foreach ($mailTemplates as $mailTemplate) {
            if (!\is_string($mailTemplate['mailTemplateId'])) {
                $mailTemplate['mailTemplateId'] = null;
            }

            $this->insertFlowData($connection$mailTemplate);
            $this->insertFlowTemplateData($connection$mailTemplate);
        }

        $this->registerIndexer($connection, 'flow.indexer');
    }
Home | Imprint | This part of the site doesn't use cookies.