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
see
AttributeMinTrait::setMin()
see
AttributeMinTrait::getMin()

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

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
Return values
self

Search results