Skip to content
Corex

EmailStudioStore

Corex\Email\Studio\EmailStudioStore · interface · Add-ons layer

Persistence boundary for editable Email Studio assets.

create(string $type, string $slug, string $name, int $parentId, array $payload): int

Section titled “create(string $type, string $slug, string $name, int $parentId, array $payload): int”

update(int $id, string $name, array $payload): bool

Section titled “update(int $id, string $name, array $payload): bool”

findBySlug(string $type, string $slug): ?array

Section titled “findBySlug(string $type, string $slug): ?array”

The most recent records of a kind, newest first, however many are stored (spec 113, US5).