Neos\Flow\I18n\Configuration::__construct PHP Method

__construct() public method

Constructs a new configuration object with the given locale identifier to be used as the default locale of this configuration.
public __construct ( string $defaultLocaleIdentifier )
$defaultLocaleIdentifier string
    public function __construct($defaultLocaleIdentifier)
    {
        try {
            $this->defaultLocale = new Locale($defaultLocaleIdentifier);
        } catch (Exception\InvalidLocaleIdentifierException $exception) {
            throw new Exception\InvalidLocaleIdentifierException('The default locale identifier "' . $defaultLocaleIdentifier . '" given is invalid.', 1280935191);
        }
    }