Cosmo (PHP) — API reference

Application

Table of Contents

Classes

Bundle
Cosmo
CosmoException
InvalidArgumentException
A caller passed an invalid argument — a typo'd option key, an unknown currency code, an unsupported width/unit, a bad enum value, … A bug to fix in the calling code, not a condition to catch and recover from.
UnsupportedException
The requested operation has no binding in PHP's intl surface (e.g. enumerating currencies via supportedValues). Environmental, not a caller bug.

Enums

Sentinel

Functions

cosmo()  : Cosmo

Functions

cosmo()

cosmo([string $locale = null ][, array<string|int, mixed> $modifiers = [] ]) : Cosmo
Parameters
$locale : string = null
$modifiers : array<string|int, mixed> = []
Return values
Cosmo
On this page

Search results