checkLocaleInSupportedLocales() public method

Check if Locale exists on the supported locales array
public checkLocaleInSupportedLocales ( string | boolean $locale ) : boolean
$locale string | boolean string|bool Locale to be checked
return boolean is the locale supported?
コード例 #1
0
ファイル: _ide_helper.php プロジェクト: bogdan8/iaravel5
 /**
  * Check if Locale exists on the supported locales array
  *
  * @param string|boolean $locale string|bool Locale to be checked
  * @throws SupportedLocalesNotDefined
  * @return boolean is the locale supported?
  * @static 
  */
 public static function checkLocaleInSupportedLocales($locale)
 {
     return \Mcamara\LaravelLocalization\LaravelLocalization::checkLocaleInSupportedLocales($locale);
 }