Modular Framework
1.0
A light and thin PHP Framework
|
Public Member Functions | |
isPresent () | |
isEmpty () | |
ifPresent (callable $callable) | |
orElse ($other) | |
orElseThrow (Exception $exception) | |
get () | |
Static Public Member Functions | |
static | of ($nullable) |
static | empty () |
@template T
|
static |
get | ( | ) |
Exception |
ifPresent | ( | callable | $callable | ) |
isEmpty | ( | ) |
isPresent | ( | ) |
|
static |
T | $nullable |
orElse | ( | $other | ) |
T | $other |
orElseThrow | ( | Exception | $exception | ) |
Exception |