Pop\Mvc\Controller::getErrorAction PHP Method

getErrorAction() public method

Get the error action
public getErrorAction ( ) : string
return string
    public function getErrorAction()
    {
        return $this->errorAction;
    }

Usage Example

コード例 #1
0
ファイル: ControllerTest.php プロジェクト: nicksagona/PopPHP
 public function testSetAndGetErrorAction()
 {
     $c = new Controller();
     $c->setErrorAction('myerror');
     $this->assertEquals('myerror', $c->getErrorAction());
 }