Update ViewRenderer.php

to set a object in twig is necessary exec a merge.
Sesionlab suggest to contruct a php to do that.
This method is for set a title in a view with twig