Source of file LessOrEqualRule.php
Size: 0,559 Bytes - Last Modified: 2017-11-08T13:54:24+00:00
/home/travis/build/bluzphp/framework/src/Validator/Rule/LessOrEqualRule.php
1234567891011121314151617181920212223242526272829303132333435 | <?php /** * Bluz Framework Component * * @copyright Bluz PHP Team * @link https://github.com/bluzphp/framework */ declare(strict_types=1); namespace Bluz\Validator\Rule; /** * Check for maximum * * @package Bluz\Validator\Rule */ class LessOrEqualRule extends LessRule { /** * @var bool */ protected $inclusive = true; /** * Get error template * * @return string */ public function getDescription() : string { return __('must be lower than or equals "%s"', $this->maxValue); } } |