src/Common/Service/Locale.php
public function getDefautLocale(): \Nails\Common\Factory\Locale
    {
        return Factory::factory('Locale')
            ->setLanguage(Factory::factory('LocaleLanguage', null, static::DEFAULT_LANGUAGE))
            ->setRegion(Factory::factory('LocaleRegion', null, static::DEFAULT_REGION))
            ->setScript(Factory::factory('LocaleScript', null, static::DEFAULT_SCRIPT));
    }
public function getDefautLocale(): \Nails\Common\Factory\Locale
    {
        return Factory::factory('Locale')
            ->setLanguage(Factory::factory('LocaleLanguage', null, static::DEFAULT_LANGUAGE))
            ->setRegion(Factory::factory('LocaleRegion', null, static::DEFAULT_REGION))
            ->setScript(Factory::factory('LocaleScript', null, static::DEFAULT_SCRIPT));
    }
public function getDefautLocale ( ) : \ Nails \ Common \ Factory \ Locale { return Factory :: factory ( 'Locale' ) -> setLanguage ( Factory :: factory ( 'LocaleLanguage' , null , static :: DEFAULT_LANGUAGE ) ) -> setRegion ( Factory :: factory ( 'LocaleRegion' , null , static :: DEFAULT_REGION ) ) -> setScript ( Factory :: factory ( 'LocaleScript' , null , static :: DEFAULT_SCRIPT ) ) ; }
Returns the default locale to use for the system

@return \Nails\Common\Factory\Locale
@throws \Nails\Common\Exception\FactoryException
Returns the default locale to use for the system