| Methods |
public
|
__construct(
self::NULL|self::IF_TRUE|self::IF_FALSE $if,
Type $type,
AssertTagParameter $parameter,
bool $negated,
bool $equality,
bool $isExplicit,
)
|
#
|
public
|
getIf(): self::NULL|self::IF_TRUE|self::IF_FALSE
|
#
|
public
|
getType(): Type
|
#
|
public
|
getOriginalType(): Type
|
#
|
public
|
getParameter(): AssertTagParameter
|
#
|
public
|
isNegated(): bool
|
#
|
public
|
isEquality(): bool
|
#
|
public
|
withType(Type $type): static
|
#
|
public
|
withParameter(AssertTagParameter $parameter): self
|
#
|
public
|
negate(): self
|
#
|
public
static
|
negateConjunction(list<self> $tags): list<self>
What the other branch of a conditional assert says: the tags hold
together, so when they don't, at least one of them is false.
-if-true A $x with -if-true B $y means that a false result says
$x is not A or $y is not B, which narrows neither of them.
What the other branch of a conditional assert says: the tags hold
together, so when they don't, at least one of them is false.
-if-true A $x with -if-true B $y means that a false result says
$x is not A or $y is not B, which narrows neither of them.
|
#
|
public
|
isExplicit(): bool
|
#
|
public
|
toImplicit(): self
|
#
|