How does Symfony pass members set in an action to a template?
- by Martin Chatterton
How does a member set inside an action...
$this->foo = 'bar';
...become a variable accessible from a template...
echo $foo; // bar
I would like to know how it is achieved at a framework level.
There is a lot of documentation on how to use Symfony, but I've not managed to find much about how it all fits together behind the scenes (class structure/inheritance etc).
Thanks in advance for your help!