<?php
namespace SabaiApps\Framework\Criteria;

/**
 * IsNotFieldCriteria class for representing a "not equal to" condition between two fields.
 * Compares the value of one field to another field for inequality.
 */
class IsNotFieldCriteria extends AbstractFieldCriteria {

	/**
	 * Accepts a Visitor object for traversing or evaluating the "not equal to field" 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->visitCriteriaIsNotField( $this, $valuePassed );
	}
}
