Documentation

Id
in package

Data structure to handle Id value

Table of Contents

Properties

$value  : int

Methods

__construct()  : mixed
__toString()  : string
Get id value as string
value()  : int
Get id value
isValid()  : bool
Check if id value is valid

Properties

$value

private int $value

Methods

__construct()

public __construct(int $value) : mixed
Parameters
$value : int

__toString()

Get id value as string

public __toString() : string
Return values
string

Depth value in "%.2f km" format

value()

Get id value

public value() : int
Return values
int

fdsn quake id

isValid()

Check if id value is valid

private isValid(int $value) : bool
Parameters
$value : int
Return values
bool

True if is valid, false otherwise


        
On this page

Search results