Add extension support to yii\twig\ViewRenderer