public function validateRange($min_amount, $max_amount)
    {
        $this->validator_attributes[] = 'data-parsley-range="[' . (float)$min_amount . ', ' . (float)$max_amount . ']"';

        $this->validator_checks['min'] = (float)$min_amount;
        $this->validator_checks['max'] = (float)$max_amount;

        return $this;
    }
public function validateRange($min_amount, $max_amount)
    {
        $this->validator_attributes[] = 'data-parsley-range="[' . (float)$min_amount . ', ' . (float)$max_amount . ']"';

        $this->validator_checks['min'] = (float)$min_amount;
        $this->validator_checks['max'] = (float)$max_amount;

        return $this;
    }
public function validateRange ( $ min_amount , $ max_amount ) { $ this -> validator_attributes [ ] = 'data-parsley-range="[' . ( float ) $ min_amount . ', ' . ( float ) $ max_amount . ']"' ; $ this -> validator_checks [ 'min' ] = ( float ) $ min_amount ; $ this -> validator_checks [ 'max' ] = ( float ) $ max_amount ; return $ this ; }
Validates that a given number is between some minimum and maximum number.

@param float $min_amount
@param float $max_amount

@return $this
Validates that a given number is between some minimum and maximum number .