API / Minn\Blocks\Dynamic / TagCloud

TagCloud final readonly class

Minn\Blocks\Dynamic\TagCloud · public/minn/src/Minn/Blocks/Dynamic/TagCloud.php · 36 lines

core/tag-cloud: non-empty tags by name, sized from 8pt to 22pt in proportion to their counts (every tag at 8pt when the counts are equal).

Constants and properties

privatereadonly Minn\Db $db

Promoted from the constructor.

privatereadonly Minn\Front\Permalinks $permalinks

Promoted from the constructor.

Public

new__construct(Minn\Db $db, Minn\Front\Permalinks $permalinks)#
methodrender(Minn\Blocks\Block $block): string#

The block's HTML.