API / Minn\Blocks\Dynamic / SyncedPattern

SyncedPattern final readonly class

Minn\Blocks\Dynamic\SyncedPattern · public/minn/src/Minn/Blocks/Dynamic/SyncedPattern.php · 26 lines

core/block: a synced pattern, rendered from the wp_block post it references.

Constants and properties

privatereadonly Minn\Db $db

Promoted from the constructor.

Public

new__construct(Minn\Db $db)#
methodrender(Minn\Blocks\Block $block, Minn\Blocks\Renderer $renderer): string#

The block's HTML.