Port
in package
implements
Stringable
Read onlyYes
FinalYes
Tags
Table of Contents
Interfaces
- Stringable
Properties
- $value : int
Methods
- __toString() : string
- equals() : bool
- of() : self
- Create a Port from an integer in the valid range 0–65535.
Properties
$value
public
int
$value
Methods
__toString()
public
__toString() : string
Attributes
- #[Override]
Return values
stringequals()
public
equals(self $other) : bool
Parameters
- $other : self
Return values
boolof()
Create a Port from an integer in the valid range 0–65535.
public
static of(int $value) : self
Parameters
- $value : int