Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
Total | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 1 |
BaseResultsType | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
getSourceFiltering | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
<?php | |
namespace CirrusSearch\Search; | |
/** | |
* Base class for result type implementations. | |
*/ | |
abstract class BaseResultsType implements ResultsType { | |
/** | |
* @return false|string|array corresponding to Elasticsearch source filtering syntax | |
*/ | |
public function getSourceFiltering() { | |
return [ 'namespace', 'title', 'namespace_text', 'wiki' ]; | |
} | |
} |