Bluz\Validator\Rule\BetweenInclusiveRule
Check for value in range between minimum and maximum values
Synopsis
class BetweenInclusiveRule
extends BetweenRule
{
- // members
- protected bool $inclusive = true;
- // Inherited members from AbstractCompareRule
- protected bool $inclusive;
- // Inherited members from AbstractRule
- protected string $description;
- // methods
- public string getDescription()
- // Inherited methods from BetweenRule
- public void __construct()
- public bool validate()
- public string getDescription()
- // Inherited methods from AbstractCompareRule
- protected bool less()
- // Inherited methods from AbstractRule
- public void assert()
- public void __invoke()
- public void __toString()
- public void getDescription()
- public void setDescription()
Hierarchy
Extends
Members
protected
- $description
—
string
Message for error output - $inclusive — Bluz\Validator\Rule\bool
- $inclusive — Bluz\Validator\Rule\bool
- $maxValue — mixed
- $minValue — mixed
Methods
public
- getDescription() — Get error template
Inherited from Bluz\Validator\Rule\BetweenRule
public
- getDescription() — Get error template
- validate() — Check input data
Inherited from Bluz\Validator\Rule\AbstractCompareRule
protected
- less() — Check $what less $than or not
Inherited from Bluz\Validator\Rule\AbstractRule
public
History
-
2017-09-07T09:33:42+00:00 (commit #c35342a)
Author: Anton Shevchuk (AntonShevchuk@gmail.com) / Commiter: Anton Shevchuk (AntonShevchuk@gmail.com)
Small changes in Validator classes
-
2017-07-25T11:04:43+00:00 (commit #629da21)
Author: Anton Shevchuk (AntonShevchuk@gmail.com) / Commiter: Anton Shevchuk (AntonShevchuk@gmail.com)
Updated rules