<?php
namespace SabaiApps\Framework\Criteria;

/**
 * NotContainsCriteria class for representing a "not contains" condition in criteria evaluation.
 * Checks if a field's value does not contain a specific value.
 */
class NotContainsCriteria extends AbstractValueCriteria {

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