Redaxscript\Captcha::getMin PHP Method

getMin() public method

get the minimum range
Since: 2.6.0
public getMin ( ) : integer
return integer
    public function getMin()
    {
        return $this->_rangeArray['min'];
    }

Usage Example

 /**
  * testGetRange
  *
  * @since 2.6.0
  */
 public function testGetRange()
 {
     /* setup */
     $captcha = new Captcha($this->_language);
     $captcha->init();
     /* actual */
     $min = $captcha->getMin();
     $max = $captcha->getMax();
     /* compare */
     $this->assertTrue($min < $max);
 }