getView() public method

Get the view object
public getView ( ) : View
return View
コード例 #1
0
ファイル: ControllerTest.php プロジェクト: nicksagona/PopPHP
 public function testSetAndGetViewPath()
 {
     $c = new Controller();
     $c->setViewPath('/admin');
     $this->assertEquals('/admin', $c->getViewPath());
     $this->assertNull($c->getView());
 }