PAGI\Node\NodeActionCommand::onCancel PHP Method

onCancel() public method

Do the configured action when the node has been cancelled.
public onCancel ( ) : NodeActionCommand
return NodeActionCommand
    public function onCancel()
    {
        $this->result = self::NODE_RESULT_CANCEL;
        return $this;
    }