Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
1 | <?php |
2 | |
3 | namespace CirrusSearch\Parser; |
4 | |
5 | interface NamespacePrefixParser { |
6 | |
7 | /** |
8 | * @param string $query |
9 | * @return false|array false if no namespace was extracted, an array |
10 | * with the parsed query at index 0 and an array of namespaces at index |
11 | * 1 (or null for all namespaces). |
12 | */ |
13 | public function parse( $query ); |
14 | } |