FileHeaders final class
Minn\Support\FileHeaders · public/minn/src/Minn/Support/FileHeaders.php · 27 lines
Header values from a plugin or theme file. The labels (Plugin Name, Theme Name, Version) are the published file-header contract; the reader is a line scan of the first 8 KB, never PHP execution.
Public
| static | values(string $file, array $labels): array# | The header values of a plugin or theme file, by label.
@return array<string, string> |
Nothing matches.