/** * Set view * * Set view and enable dojo * * @param View $view * @return \Zend\Dojo\View\Helper\Dijit */ public function setView(View $view) { parent::setView($view); $this->dojo = $this->view->plugin('dojo'); $this->dojo->enable(); return $this; }
/** * {@inheritDoc} */ public function setUp() { $this->helper = $this->getMockForAbstractClass('Zend\\View\\Helper\\AbstractHtmlElement'); $this->helper->setView(new PhpRenderer()); }