InstalledSoftware final readonly class
Minn\Ops\InstalledSoftware · public/minn/src/Minn/Ops/InstalledSoftware.php · 59 lines
What is installed, as the System view lists it: every extension and WordPress plugin with whether it runs, the mu-plugins, the themes with their parents, and the active theme's label.
Used by 2
Constants and properties
| private | readonly Minn\Content\Site $site | Promoted from the constructor. |
| private | readonly Minn\Content\Inventory $inventory | Promoted from the constructor. |
| private | readonly Minn\Extension\Loader $extensions | Promoted from the constructor. |
| private | readonly string $webroot | Promoted from the constructor. |
Public
| new | __construct(Minn\Content\Site $site, Minn\Content\Inventory $inventory, Minn\Extension\Loader $extensions, string $webroot)# | |
| method | activeExtensionCount(): int# | How many Minn extensions are active. |
| method | manifest(): array# | Plugins, mu-plugins, and themes with their versions and whether each is active. |
| method | activeThemeLabel(): string# | The active theme's name and version, naming the parent of a child theme; the slug when the headers are missing. |
Nothing matches.