API / Minn\Content / CommentClasses

CommentClasses final class

Minn\Content\CommentClasses · public/minn/src/Minn/Content/CommentClasses.php · 26 lines

The class tokens a rendered comment carries: its type, its author, odd/even and thread alternation, depth, then the caller's extras.

Public

staticbuild(string $type, ?string $authorClass, bool $byPostAuthor, int $alt, int $depth, int $threadAlt, array $extra): array#

The class list a comment's list item carries, in the reference's order.

$extralist<string>
@return list<string>