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
equals()  : bool
Compare two objects
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

equals()

Compare two objects

public equals(self $other) : bool
Parameters
$other : self
Return values
bool

true are equals, false otherwise

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