/** * Check if the number is valid in the current number system. */ private function validate() { $this->numberSystem->validateNumberValue($this->value()); }
public function __construct() { parent::__construct(['0', '1']); }
public function __construct() { return parent::__construct(['0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F']); }