Svel, I can't see any good reason to clone a variable inside a template ..
[MA]Pascal On Oct 18, 8:17 am, Svel <[email protected]> wrote: > In symfony 1.2 and 1.3 sfOutputEscaperObjectDecorator class has no > ability for a simple thing: > > echo $a->getName(); // 'myName' > $b = clone $a; > $b->setName('qwerty'); > echo $a->getName(); // 'qwerty' > > How about including magic __clone method to > sfOutputEscaperObjectDecorator ? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-devs?hl=en -~----------~----~----~----~------~----~------~--~---
