Yaf_Dispatcher::setView

Yaf_Dispatcher::setView

(Yaf >=1.0.0)

Yaf_Dispatcher::setViewSet a custom view engine

Description

public Yaf_Dispatcher Yaf_Dispatcher::setView ( Yaf_View_Interface $view )

This method proviods a solution for that if you want use a custom view engine instead of Yaf_View_Simple

Parameters

view

A Yaf_View_Interface instance