src/Generators/AlphaGenerator.php
protected function generateNumeric()
    {
        if (is_null($this->size) && $this->pattern == static::DEFAULT_PATTERN) {
            return $this->generateInteger();
        }

        return $this->generateString($this->getNumericGenerator());
    }
protected function generateNumeric()
    {
        if (is_null($this->size) && $this->pattern == static::DEFAULT_PATTERN) {
            return $this->generateInteger();
        }

        return $this->generateString($this->getNumericGenerator());
    }
protected function generateNumeric ( ) { if ( is_null ( $ this -> size ) && $ this -> pattern == static :: DEFAULT_PATTERN ) { return $ this -> generateInteger ( ) ; } return $ this -> generateString ( $ this -> getNumericGenerator ( ) ) ; }
Generate a numeric random value.

@return int|string
Generate a numeric random value .