Prado\I18N\core\NumberFormatInfo::__construct PHP Method

__construct() public method

Initializes a new writable instance of the NumberFormatInfo class that is dependent on the ICU data for number, decimal, and currency formatting information. N.B.You should not initialize this class directly unless you know what you are doing. Please use use NumberFormatInfo::getInstance() to create an instance.
See also: getInstance()
public __construct ( $data = [], $type = NumberFormatInfo::DECIMAL )
    public function __construct($data = array(), $type = NumberFormatInfo::DECIMAL)
    {
        $this->properties = get_class_methods($this);
        if (empty($data)) {
            throw new Exception('Please provide the ICU data to initialize.');
        }
        $this->data = $data;
        $this->setPattern($type);
    }