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
|
generalize(GeneralizePrecision $precision): Type
|
# |
public
static
|
__set_state(mixed[] $properties): Type
|
# |
Methods inherited from PHPStan\Type\BooleanType |
---|
toArray(), tryRemove(), |