| Current Path : /var/www/homesaver/www/bitrix/modules/main/lib/authentication/policy/ |
| Current File : /var/www/homesaver/www/bitrix/modules/main/lib/authentication/policy/lesserpositiverule.php |
<?php
/**
* Bitrix Framework
* @package bitrix
* @subpackage main
* @copyright 2001-2021 Bitrix
*/
namespace Bitrix\Main\Authentication\Policy;
class LesserPositiveRule extends Rule
{
/**
* @inheritdoc
*/
public function compare($value): bool
{
return ($value > 0 && ($value < $this->value || $this->value == 0));
}
}