final class ReferenceEffects
Restricted visibility: declared "@visibility root". Code outside that scope must not name this declaration.

Names which may share storage in a body, without deciding which paths execute.

Methods§

public function __construct()

Starts an empty cache of reference exposure per body.

Calls 1
public function affected(Node $node, array<string, true> $written): array<string, true>

Names potentially sharing storage with a write in this body.

Parameters

$nodeNode
$writtenarray<string, true>

Returns

array<string, true>
Test cases 3
Calls 5

Private surface 1§

Implementation details, listed for orientation only.

private WeakMap<Node, array<string, true>> $cache

Test cases 31§

Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.

Dedicated tests 5
Other tests reaching this symbol 26

Relations§

Instantiated in 4
Type declarations 3