setErrorAction() public method

Set the error action
public setErrorAction ( string $error ) : Controller
$error string
return Controller
Example #1
0
 public function testSetAndGetErrorAction()
 {
     $c = new Controller();
     $c->setErrorAction('myerror');
     $this->assertEquals('myerror', $c->getErrorAction());
 }