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

__construct() public method

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