AstVisitorRegistry
class AstVisitorRegistry mixin SplPriorityQueue
Registry of AST visitors used during proxy class generation.
Properties
| static protected SplPriorityQueue|null | $queue | ||
| static protected array<int, string> | $values |
Methods
static mixed
__callStatic(string $name, array $arguments)
Delegate unknown static calls to the underlying priority queue.
static bool
insert(string $value, int $priority = 0)
Insert a visitor class name with optional priority.
static bool
exists(string $value)
Determine if a visitor class has been registered.
static SplPriorityQueue
getQueue()
Get the priority queue of registered visitors.
static void
flushState()
Flush all static state.
Details
at line 27
static mixed
__callStatic(string $name, array $arguments)
Delegate unknown static calls to the underlying priority queue.
at line 42
static bool
insert(string $value, int $priority = 0)
Insert a visitor class name with optional priority.
Boot-only. Visitor registrations persist in a static queue for the worker lifetime and are used by proxy generation.
at line 51
static bool
exists(string $value)
Determine if a visitor class has been registered.
at line 59
static SplPriorityQueue
getQueue()
Get the priority queue of registered visitors.
at line 70
static void
flushState()
Flush all static state.