- Issue created by @Charlie ChX Negyesi
- Merge request !12142Draft: Resolve #3524918 "Add properties and" โ (Open) created by Unnamed author
This is a spin off from โจ Use the builder pattern to make it easier to create render arrays Needs work although it does not, in fact, use the builder pattern.
Add
toRenderArray()
method to create a render array from these properties
createInstance()
method to create a new plugin instance
__set / __get
to RenderElementBase
to soak up arbitrary properties
ElementInfoManager::fromRenderArray
to create an instance from a render array
Do not add any per property setter/getter the amount of methods would be quite bad. Logic can be added soon when PHP 8.4 gets required and property setter/getters are introduced.
Do something about children.
Test.
Active
11.0 ๐ฅ
render system