NotNestedAssertions
extends Assertion
in package
uses
UnserializeMemoryUsageSuppressionTrait
FinalYes
Tags
Table of Contents
Properties
- $assertions : array<string|int, mixed>
Methods
- __construct() : mixed
- __toString() : string
- __unserialize() : void
- getAtomicType() : Atomic|null
- getNegation() : Assertion
- hasEquality() : bool
- isNegation() : bool
- isNegationOf() : bool
- setAtomicType() : static
- __clone() : mixed
Properties
$assertions read-only
public
array<string|int, mixed>
$assertions
Methods
__construct()
public
__construct(array<string, array<int, array<int, Assertion>>> $assertions) : mixed
Parameters
- $assertions : array<string, array<int, array<int, Assertion>>>
__toString()
public
__toString() : string
Return values
string__unserialize()
public
__unserialize(array<string|int, mixed> $properties) : void
Parameters
- $properties : array<string|int, mixed>
getAtomicType()
public
getAtomicType() : Atomic|null
Return values
Atomic|nullgetNegation()
public
getNegation() : Assertion
Return values
AssertionhasEquality()
public
hasEquality() : bool
Return values
boolisNegation()
public
isNegation() : bool
Return values
boolisNegationOf()
public
isNegationOf(Assertion $assertion) : bool
Parameters
- $assertion : Assertion
Return values
boolsetAtomicType()
public
setAtomicType(Atomic $type) : static
Parameters
- $type : Atomic
Return values
static__clone()
private
__clone() : mixed