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

The calls found to reach a body, and whether some other call might reach it too.

A call written with the method's name on something whose class could not be worked out may or may not reach the method. Taking it as a caller would let an unrelated method that happens to share the name — DateTime::format, a class outside the analyzed files — pass its arguments in; leaving it out silently would claim every caller was asked. So it is left out, and the set says that it is partial.

Properties§

public list<CallLike> $calls
public bool $partial = false

Methods§

public function __construct(public list<CallLike> $calls, public bool $partial = false)

Parameters

$callslist<CallLike>The calls known to reach the body, in the order they are written
$partialboolWhether a call that might also reach the body could not be confirmed to

Test cases 20§

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

Dedicated tests 2
Other tests reaching this symbol 18

Relations§

Instantiated in 4
Type declarations 2