Skip to content
PHP Ecosystem
Explore

ParsedEntry

API reference › Debug Core › Registration › ParsedEntry

final readonly classPHPForge\Debug\Registration\ParsedEntry
Sourcesrc/Registration/ParsedEntry.php

Represents one collector or panel entry of the application configuration, split into its class and its options.

The options keep enabled next to every other key, so each host validates them with its own rules: a collector reads the flag through EntryParser::enabled(), and a panel hands the whole map to PanelOverride::fromArray().

PropertyTypeDescriptionDefined by
$class readonly constructorstringClass name or container identifier the host resolves.ParsedEntry
$options readonly constructorarray<array-key, mixed>Keys the entry declares beside class, in declaration order. Default: [].ParsedEntry
MethodDescriptionDefined by
__construct()Creates a parsed collector or panel configuration entry.ParsedEntry
public function __construct(string $class, array<array-key, mixed> $options = [])

Creates a parsed collector or panel configuration entry.

Parameters

ParameterTypeDescription
$classstringClass name or container identifier the host resolves.
$optionsarray<array-key, mixed>Keys the entry declares beside class, in declaration order.