setViewPath() public method

Set the response object
public setViewPath ( string $viewPath ) : Controller
$viewPath string
return Controller
Example #1
0
 public function testSetAndGetViewPath()
 {
     $c = new Controller();
     $c->setViewPath('/admin');
     $this->assertEquals('/admin', $c->getViewPath());
     $this->assertNull($c->getView());
 }