<?php
namespace SabaiApps\Framework\Criteria;

/**
 * Abstract base class for criteria objects.
 * Provides constants for logical operators and a default implementation for emptiness check.
 */
abstract class AbstractCriteria {

	/**
	 * Logical AND operator constant.
	 */
	const CRITERIA_AND = 'AND';

	/**
	 * Logical OR operator constant.
	 */
	const CRITERIA_OR = 'OR';

	/**
	 * Checks if the criteria is empty.
	 * Subclasses can override this method to provide custom logic.
	 *
	 * @return bool Returns false by default.
	 */
	public function isEmpty() {
		return false;
	}
}
