SectionRender
The mutable subject of a section's render lifecycle. Carried by `admin.section.before_render` (props are still open) and `admin.section.after_render` (the HTML is still open). A subscriber changes what it finds; the panel renders what is left. Milpa is event-driven: a section nobody can observe is a section nobody can extend.
SectionRender::__construct()
public function __construct(Milpa\Admin\Section\AdminSection $section, array $props, string $html = ''):Parameters
| Name | Type | Description |
|---|---|---|
| $section | Milpa\Admin\Section\AdminSection | |
| $props | array<string, mixed> | the props the component will mount with — mutable before render |
| $html | string | the rendered section — mutable after render |