classTextReporter
final class TextReporter
implements Reporter
Public API: explicitly declared with
@visibility public.Prints candidate values and distinguishes unresolved expressions from concrete results.
$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): stringRenders native PHP literals and a node table for partial expressions.
Parameters
$candidates | CandidateCollection |
Returns
stringTest cases 3
Test cases 4§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.