API / Minn\Theme / BodyFacts

BodyFacts final readonly class

Minn\Theme\BodyFacts · public/minn/src/Minn/Theme/BodyFacts.php · 10 lines

The facts about a page that decide the body classes a classic theme's page carries beyond the view tokens: a signed-in reader, a custom logo, responsive embeds, and the Minn bar.

Constants and properties

propreadonly bool $loggedIn

Promoted from the constructor.

propreadonly bool $customLogo

Promoted from the constructor.

propreadonly bool $embedResponsive

Promoted from the constructor.

propreadonly bool $bar

Promoted from the constructor.

Public

new__construct(bool $loggedIn = false, bool $customLogo = false, bool $embedResponsive = true, bool $bar = false)#