Repository navigation
Internals Vfs Resource Event ContextRequestEvent
Framework Internals · Subsystem overview · Developer guide
Source: awt_src/classes/vfs/resource/event/ContextRequestEvent.php · Snapshot 8411f4287706.
VFS includes package resource lookup, database-backed file metadata, filesystem collaborators, transient pools and persistent PHP-array caches.
use event\interfaces\IEvent;class ContextRequestEvent implements IEventDeclarations below preserve visibility, type, default and modifiers exactly. A typed property without an initializer remains uninitialized until its constructor or another method assigns it. Mutable fields belong to this instance unless marked static; readonly fields can be initialized once. Constructor-promoted properties are also listed below.
| Member | Declaration | Purpose or source contract |
|---|---|---|
| $context | public string $context; |
Declared extension/state field; no own method directly consumes it in this source file. |
| Method | Signature |
|---|---|
| getName | public function getName(): string |
| bundle | public function bundle(): array |
public function getName(): stringReturn expressions (including local callbacks): "vfs.context.request".
Implementation, validation guards and interaction order
/**
* @inheritDoc
*/
public function getName(): string
{
return "vfs.context.request";
}public function bundle(): arrayReturn expressions (including local callbacks): ["context" => $this].
Implementation, validation guards and interaction order
/**
* @inheritDoc
*/
public function bundle(): array
{
return ["context" => $this];
}AWT Framework Wiki · Home · Installation Guide · Developer Guide · Framework Internals
Philosophy · Architecture · Known discrepancies · Verification
Installation Guide
Developer Guide
- Learning sequence
- First package
- Package structure
- Lifecycle
- Runtimes
- Events and objects
- Routing and controllers
- Views and resources
- Database and models
- Storage and caching
- Configuration and CLI
- Responses and errors
- Extension points
Framework Internals
- Architecture
- Bootstrap
- Packages
- Runtime
- Events and context
- Objects
- HTTP routing and controllers
- Rendering
- Blade integration
- Database
- Models
- Storage and caching
- Settings
- CLI
- Identity and sessions
- Responses
- Errors
- Complete source inventory
Documentation notes