AttributeMinTrait
This is the 'min' attribute trait.
This trait has been created to share common code between form elements classes, in this case the declaration of the 'min' attribute and its set/get methods.
Tags
Table of Contents
$min | : int | |
---|---|---|
getMin() | This method returns the current value of the 'min' attribute. | : int |
setMin() | This method sets the 'min' attribute with the given value and returns self. | : self |
Properties
$min
protected
int
$min
= -1
Methods
getMin()
This method returns the current value of the 'min' attribute.
public
getMin() : int
Return values
int —setMin()
This method sets the 'min' attribute with the given value and returns self.
public
setMin(int $min) : self
Parameters
- $min : int