classCallerSet
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> $callspublic bool $partial = falseMethods§
public function __construct(public list<CallLike> $calls, public bool $partial = false)Parameters
$calls | list<CallLike> | The calls known to reach the body, in the order they are written |
$partial | bool | Whether 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
CatalogCommandTestcallsCallEvaluatorTestcallsCallersTestcallsDeriverTestcallsEntryBinderTest::testFromCallersAsksNoMoreThanTheCallerLimitcallsEntryBinderTest::testFromCallersBindsEachArgumentAndFillsInWhatACallLeavesOutcallsEntryBinderTest::testFromCallersCarriesWhetherTheCallerPairedValuesWorkedOutApartcallsEntryBinderTest::testFromCallersCarriesWhetherTheCallerWasCutShortcallsEntryBinderTest::testFromCallersMarksEveryWayInCutShortWhenTheCallersArePartialcallsEntryBinderTest::testFromCallersMarksTheWaysInFoundBeforeTheBudgetRanOutAsCutShortcallsEntryBinderTest::testFromCallersStopsOnceTheBudgetIsSpentcallsPropertyWritesTestcallsExpressionEvaluatorTestcallsInterpreterTestcallsCallModelTestcallsAnalyzerTestcallsJsonReporterTestcallsTextReporterTestcalls
Relations§
Instantiated in 4
- new SqlCatalog\Core\Analysis\Derivation\Callers::of() packages/sql-catalog/src/Core/Analysis/Derivation/Callers.php:65
- new SqlCatalog\Core\Analysis\Derivation\Callers::of() packages/sql-catalog/src/Core/Analysis/Derivation/Callers.php:68
- new SqlCatalog\Core\Analysis\Derivation\Callers::of() packages/sql-catalog/src/Core/Analysis/Derivation/Callers.php:72
- new SqlCatalog\Core\Analysis\Derivation\Callers::of() packages/sql-catalog/src/Core/Analysis/Derivation/Callers.php:85