src/NumberSystem.php
public function getDigits(Number $number)
    {
        if (null === $this->delimiter) {
            return str_split($number->value());
        }

        return explode($this->delimiter, $number->value());
    }
public function getDigits(Number $number)
    {
        if (null === $this->delimiter) {
            return str_split($number->value());
        }

        return explode($this->delimiter, $number->value());
    }
Get all digits of a given number according to
this number-system.

@param Number $number

@return array