Example #1
0
 /**
  * @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);
 }
Example #3
0
 /**
  * @expectedException InvalidArgumentException
  */
 public function testRenderArgumentHasToBeAString()
 {
     $this->object->render(1);
 }