示例#1
0
 /**
  * Configuration lang:
  * - Set locate
  * 
  * @param string $locale Define locate of language
  * @return null
  */
 public static final function configuration(string $locale)
 {
     if (!empty($locale)) {
         Lang::$locale = "{$locale}";
     } else {
         Lang::$locale = Lang::STANDARD_LOCALE;
     }
     if (!empty($root)) {
         Lang::$root = "{$root}";
     }
     return null;
 }