Methods | ||
---|---|---|
public
|
__construct(TrinaryLogic $result, list<string> $reasons)
|
# |
public
|
yes(): bool
|
# |
public
|
maybe(): bool
|
# |
public
|
no(): bool
|
# |
public
static
|
createYes(): self
|
# |
public
static
|
createNo(): self
|
# |
public
static
|
createMaybe(): self
|
# |
public
static
|
createFromBoolean(bool $value): self
|
# |
public
|
and(self $other): self
|
# |
public
|
or(self $other): self
|
# |
public
|
decorateReasons(callable(string): string $cb): self
|
# |
public
static
|
extremeIdentity(self ...$operands): self
|
# |
public
static
|
maxMin(self ...$operands): self
|
# |