<?php
namespace SabaiApps\Framework\Criteria;

/**
 * IsOrGreaterThanCriteria class for representing a "greater than or equal to" condition in criteria evaluation.
 * Compares a field's value to a specific value.
 */
class IsOrGreaterThanCriteria extends AbstractValueCriteria {

	/**
	 * Accepts a Visitor object for traversing or evaluating the "greater than or equal to" criteria.
	 *
	 * @param IVisitor $visitor Visitor object.
	 * @param mixed    $valuePassed Value to pass to the visitor.
	 * @return mixed
	 */
	public function acceptVisitor( IVisitor $visitor, &$valuePassed ) {
		return $visitor->visitCriteriaIsOrGreaterThan( $this, $valuePassed );
	}
}
