PAGI\Node\Node::executeOnInputFailed PHP 메소드

executeOnInputFailed() 공개 메소드

Executes a callback when the node fails to properly get input from the user (either because of cancel, max attempts reached, timeout).
public executeOnInputFailed ( Closure $callback ) : Node
$callback Closure
리턴 Node
    public function executeOnInputFailed(\Closure $callback)
    {
        $this->executeOnInputFailed = $callback;
        return $this;
    }