* $dec = new ezcWorkflowNodeVariableDecrement ( 'variable name' ) ; * * * Incoming nodes: 1 * Outgoing nodes: 1 * * @package Workflow * @version 1.0 */ class ezcWorkflowNodeVariableDecrement extends ezcWorkflowNodeArithmeticBase { /** * The name of the variable to be decremented. * * @var string */ protected $configuration; /** * Perform variable modification. */ protected function doExecute() { $this->variable--; } /** * Returns a textual representation of this node. * * @return string * @ignore */ public function __toString() { return $this->configuration . '--'; } } ?>