WebBaseHook: Make setView() fluent

This commit is contained in:
Eric Lippmann 2020-01-14 14:28:04 +01:00 committed by Johannes Meyer
parent e11fc90c33
commit 73a4d8ac31

View File

@ -24,10 +24,14 @@ class WebBaseHook
* Set the view instance * Set the view instance
* *
* @param Zend_View $view * @param Zend_View $view
*
* @return $this
*/ */
public function setView(Zend_View $view) public function setView(Zend_View $view)
{ {
$this->view = $view; $this->view = $view;
return $this;
} }
/** /**