Prado\I18N\core\CultureInfo::__get PHP Method

__get() public method

Allow functions that begins with 'set' to be called directly as an attribute/property to retrieve the value.
public __get ( $name ) : mixed
return mixed
    function __get($name)
    {
        $getProperty = 'get' . $name;
        if (in_array($getProperty, $this->properties)) {
            return $this->{$getProperty}();
        } else {
            throw new Exception('Property ' . $name . ' does not exists.');
        }
    }