* * * * @package Workflow * @version 1.2 */ class ezcWorkflowConditionIsTrue implements ezcWorkflowCondition { /** * Evaluates this condition with $value and returns true if it is true and false if it is not. * * @param mixed $value * @return boolean true when the condition holds, false otherwise. * @ignore */ public function evaluate( $value ) { return $value === true; } /** * Returns a textual representation of this condition. * * @return string * @ignore */ public function __toString() { return 'is true'; } } ?>