final class TextReporter
    implements Reporter
Public API: explicitly declared with @visibility public.

Prints candidate values and distinguishes unresolved expressions from concrete results.

Reporting an empty candidate setdoctest
$candidates = new \Deriver\Deriver\Candidate\CandidateCollection([], new \Deriver\Deriver\Candidate\ResultRef('r'));
    (new \Deriver\Reporter\TextReporter())->report($candidates) // => "No candidates.\n"

Methods§

public function report(CandidateCollection $candidates): string

Renders native PHP literals and a node table for partial expressions.

Parameters

Returns

string
Test cases 3
Calls 5

Test cases 4§

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

Dedicated tests 3
Other tests reaching this symbol 1

Relations§

Instantiated in 1