Class Unit
Representation of a unit.
-
ICanBoogie\CLDR\Units\Unit
uses
ICanBoogie\Accessor\AccessorTrait (not available)
Methods summary
protected
get_name( void )
: string
protected
get_long_name( void )
: string
protected
get_short_name( void )
: string
protected
get_narrow_name( void )
: string
public
__toString( void )
: string
public
per_unit( number|string $number
, ICanBoogie\CLDR\Units\Unit
|string $unit
, string $length
= Units::DEFAULT_LENGTH )
: string
Parameters
Returns
string
Properties summary
Magic properties
public read-only
$name
: string
public read-only
$long_name
: string
public read-only
$short_name
: string
public read-only
$narrow_name
: string