GreaterThanOrEqual.php 515 B

12345678910111213141516171819202122232425
  1. <?php
  2. /**
  3. * @link http://www.yiiframework.com/
  4. * @copyright Copyright (c) 2008 Yii Software LLC
  5. * @license http://www.yiiframework.com/license/
  6. */
  7. namespace yii\debug\components\search\matchers;
  8. /**
  9. * Checks if the given value is greater than or equal the base one.
  10. *
  11. * @author Dmitriy Bashkarev <dmitriy@bashkarev.com>
  12. * @since 2.0.7
  13. */
  14. class GreaterThanOrEqual extends Base
  15. {
  16. /**
  17. * @inheritdoc
  18. */
  19. public function match($value)
  20. {
  21. return $value >= $this->baseValue;
  22. }
  23. }