Skip to content

Internals Render Events RenderReadyEvent

Stefan Crkvenjakov edited this page Oct 7, 2026 · 1 revision

render\events\RenderReadyEvent

Framework Internals · Subsystem overview · Developer guide

Source: awt_src/classes/render/events/RenderReadyEvent.php · Snapshot 8411f4287706.

Rendering combines package views, Blade compilation, DOM processing and the renderer.ready event. The upstream BladeOne engine is excluded from the exhaustive framework reference; AWT integration is documented separately.

Imports and dependencies

use event\interfaces\IEvent;
use render\Render;

RenderReadyEvent

Declaration and architectural role

class RenderReadyEvent implements IEvent

Source description (behavioral corrections are recorded in Known discrepancies):

RenderReadyEvent class

It is used to signal when the rendering process is complete, providing access to the renderer instance that handled the render.

Constants, enum cases, traits and properties

Declarations 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
$renderer public Render $renderer; @var Render $renderer Stores an instance of the Render class that executed the rendering.

Method index

Method Signature
getName public function getName(): string
bundle public function bundle(): array

getName

Source line 23

public function getName(): string

Return expressions (including local callbacks): "renderer.ready".

Implementation, validation guards and interaction order
public function getName(): string
    {
        return "renderer.ready";
    }

bundle

Source line 28

public function bundle(): array

Return expressions (including local callbacks): ["renderer" => $this->renderer].

Implementation, validation guards and interaction order
public function bundle(): array
    {
        return ["renderer" => $this->renderer];
    }

Related types

Clone this wiki locally