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

Example #1
0
 public function testSetAndGetErrorAction()
 {
     $c = new Controller();
     $c->setErrorAction('myerror');
     $this->assertEquals('myerror', $c->getErrorAction());
 }