Returns the digits of the parameter value.
public function getDigits(string $key, string $default = '') : string { return preg_replace('/[^[:digit:]]/', '', $this->getString($key, $default)); }