Greater.php 499 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10
<?php
/**
 * @link http://www.yiiframework.com/
 * @copyright Copyright (c) 2008 Yii Software LLC
 * @license http://www.yiiframework.com/license/
 */

namespace yii\debug\components\search\matches;

/**
Qiang Xue committed
11
 *
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
 * @author Mark Jebri <mark.github@yandex.ru>
 * @since 2.0
 */
class Greater extends Base
{

	/**
	 * Checks if the given value is the same as base one or has partial match with base one.
	 * @param mixed $value
	 */
	public function check($value)
	{
		return ($value > $this->value);
	}

}