PlaceholderTrace final class
Minn\Runtime\PlaceholderTrace · public/minn/src/Minn/Runtime/PlaceholderTrace.php · 37 lines
Records every call into a generated placeholder while a site opts in by having wp-content/minn-placeholder-trace.log on disk: one line per call with the symbol, the plugin file that called it, and the request. The log says which placeholders deserve behaviour; an absent file costs one stat per request.
Uses 1
Constants and properties
| private | static ?string $file | |
| private | static bool $checked |
Public
| static | deadEnd(string $symbol): void# | Logs a call to a method of a real class that Minn answers with nothing by design (an admin-screen helper): compat-status counts the method as a dead end, where a hit() marks one still owed. |
| static | hit(string $symbol): void# | Logs a placeholder symbol being called, when the trace file exists. |
Nothing matches.