(private string $name, private array $entries)
| 8 | |
| 9 | class SearchResult implements \JsonSerializable { |
| 10 | private function __construct(private string $name, private array $entries) { |
| 11 | } |
| 12 | |
| 13 | public static function complete(string $name, array $entries): self { |
| 14 | return new self($name, $entries); |
nothing calls this directly
no outgoing calls
no test coverage detected