It's already covered by [`set()`](https://github.com/mayeco/symfony/blob/2.3/src/Symfony/Component/Templating/PhpEngine.php#L283) method.