Symfony\Component\Intl\ResourceBundle\LanguageBundleInterface::getScriptName
Returns the name of a script.
Signature
public function getScriptName(string
$script,
[string
$lang = null,
[string
$locale = null]] )
Parameters
$script
— string- A script code (e.g. "Hans").
$lang
— string- Optional. A language code (e.g. "zh").
$locale
— string- Optional. The locale to return the name in.
Defaults to .
Returns
- string|null
- The name of the script or NULL if not found.