/** * @throws InvalidArgumentException * @param string $viewScriptPath * @return string */ public function render($viewScriptPath) { $scriptPath = $this->getScriptPath($viewScriptPath); return parent::render($scriptPath); }
protected function renderView($viewScriptPath) { return $this->view->render($viewScriptPath); }
/** * @expectedException InvalidArgumentException */ public function testRenderArgumentHasToBeAString() { $this->object->render(1); }