public function getMinValue()
    {
        if ($this->isUnsigned) {
            return 0;
        }

        if (!is_null($value = $this->getMaxValue())) {
            return ($value * -1) - ($this->isDecimal() ? 0 : 1);
        }

        return null;
    }
public function getMinValue()
    {
        if ($this->isUnsigned) {
            return 0;
        }

        if (!is_null($value = $this->getMaxValue())) {
            return ($value * -1) - ($this->isDecimal() ? 0 : 1);
        }

        return null;
    }
public function getMinValue ( ) { if ( $ this -> isUnsigned ) { return 0 ; } if ( ! is_null ( $ value = $ this -> getMaxValue ( ) ) ) { return ( $ value * - 1 ) - ( $ this -> isDecimal ( ) ? 0 : 1 ) ; } return null ; }
Gets the minimum value a field can equal.

@return int|float|null
Gets the minimum value a field can equal .