3 * A SearchResultSet wrapper for SearchNearMatcher
5 class SearchNearMatchResultSet
extends SearchResultSet
{
7 * @param Title|null $match Title if matched, else null
9 public function __construct( $match ) {
10 if ( $match === null ) {
13 $this->results
= [ SearchResult
::newFromTitle( $match, $this ) ];
17 public function numRows() {
18 return $this->results ?
1 : 0;