ExpectedResult
in package
Table of Contents
- $constraint : Matches
- $entityMap : EntityMap
- $yieldingEntityId : string|null
- ID of the entity yielding the result. This is mainly used to associate entities with a root client for collation of observed events.
- __construct() : mixed
- assert() : void
- prepare() : mixed
- prepareWriteResult() : mixed
Properties
$constraint
private
Matches
$constraint
$entityMap
private
EntityMap
$entityMap
$yieldingEntityId
ID of the entity yielding the result. This is mainly used to associate entities with a root client for collation of observed events.
private
string|null
$yieldingEntityId
Methods
__construct()
public
__construct(stdClass $o, EntityMap $entityMap[, string|null $yieldingEntityId = null ]) : mixed
Parameters
- $o : stdClass
- $entityMap : EntityMap
- $yieldingEntityId : string|null = null
Return values
mixed —assert()
public
assert(mixed $actual[, string|null $saveResultAsEntity = null ]) : void
Parameters
- $actual : mixed
- $saveResultAsEntity : string|null = null
Return values
void —prepare()
private
static prepare(mixed $value) : mixed
Parameters
- $value : mixed
Return values
mixed —prepareWriteResult()
private
static prepareWriteResult(mixed $value) : mixed
Parameters
- $value : mixed