API / Minn\Runtime / Constants

Constants final class

Minn\Runtime\Constants · public/minn/src/Minn/Runtime/Constants.php · 91 lines

The constants plugin code expects: the fixed set from data/constants.json (captured from the reference) and the per-site ones computed here. Nothing already defined is touched, so wp-config.php keeps the last word.

Used by 1

Public

staticdefine(Minn\Runtime\Runtime $runtime): void#

Defines the constants the reference defines at boot.

Internals 1

Private and protected methods: how the class does its work. Not a contract; they change whenever the code is tidied.

privatemaxMemoryLimit(): string#

256M, unless PHP starts with no limit or a higher one, which is then kept as written (probe: the reference started at 128M, 300M, 1G, -1).