Bluz\Validator\Rule\MoreOrEqualRule
Check for minimum
Synopsis
class MoreOrEqualRule
extends MoreRule
{
- // members
- protected bool $inclusive = true;
- // Inherited members from MoreRule
- protected $minValue;
- // Inherited members from AbstractCompareRule
- protected bool $inclusive;
- // Inherited members from AbstractRule
- protected string $description;
- // methods
- public string getDescription()
- // Inherited methods from MoreRule
- 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
- $minValue — mixed
Methods
public
- getDescription() — Get error template
Inherited from Bluz\Validator\Rule\MoreRule
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-07-25T11:04:43+00:00 (commit #629da21)
Author: Anton Shevchuk (AntonShevchuk@gmail.com) / Commiter: Anton Shevchuk (AntonShevchuk@gmail.com)
Updated rules