getViewPath() public method

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