Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
common
Locale
fromString
common\Locale::fromString PHP Method
Locale Class Documentation
Show file
Open project: forkcms/forkcms
fromString()
public
static
method
public
static
fromString
(
$locale
) :
self
$locale
return
self
public static function fromString($locale) { return new static($locale); }
Locale
__construct
__toString
equals
fromString
getLocale
getPossibleLanguages
serialize
setLocale
unserialize