Twig
Twig copied to clipboard
set object.property = value
With php's property accessors, property setters will go the way of the dinos. Property write access will be the idiomatic way.
So Twig should support set object.property = value.
What is your use-case of setting a nested object value? You can already assign an object to a variable and merge objects (example)