setErrorAction() 공개 메소드

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