extends |
BooleanType |
---|---|
implements |
ConstantScalarType |
uses |
ConstantScalarTypeTrait |
Methods | ||
---|---|---|
public
|
__construct(bool $value)
|
# |
public
|
getValue(): bool
|
# |
public
|
describe(VerbosityLevel $level): string
|
# |
public
|
getSmallerType(): Type
|
# |
public
|
getSmallerOrEqualType(): Type
|
# |
public
|
getGreaterType(): Type
|
# |
public
|
getGreaterOrEqualType(): Type
|
# |
public
|
toBoolean(): BooleanType
|
# |
public
|
toNumber(): Type
|
# |
public
|
toString(): Type
|
# |
public
|
toInteger(): Type
|
# |
public
|
toFloat(): Type
|
# |
public
|
toArrayKey(): Type
|
# |
public
|
isTrue(): TrinaryLogic
|
# |
public
|
isFalse(): TrinaryLogic
|
# |
public
|
generalize(GeneralizePrecision $precision): Type
|
# |
public
static
|
__set_state(mixed[] $properties): Type
|
# |
Methods inherited from PHPStan\Type\BooleanType |
---|
getConstantStrings(), toArray(), isNull(), isBoolean(), isScalar(), looseCompare(), tryRemove(), exponentiate(), |