ShopSearchAdapter
last analyzed

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 5
Bugs 0 Features 1
Metric Value
c 5
b 0
f 1
dl 0
loc 13
ccs 0
cts 0
cp 0

1 Method

Rating   Name   Duplication   Size   Complexity  
searchFromVars() 0 1 ?
1
<?php
2
/**
3
 * Interface for shop search drivers.
4
 *
5
 * @author Mark Guinn <[email protected]>
6
 * @date 09.03.2013
7
 * @package shop_search
8
 */
9
interface ShopSearchAdapter
0 ignored issues
show
Coding Style Compatibility introduced by
Each interface must be in a namespace of at least one level (a top-level vendor name)

You can fix this by adding a namespace to your class:

namespace YourVendor;

class YourClass { }

When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.

Loading history...
10
{
11
    /**
12
     * @param string $keywords
13
     * @param array $filters [optional]
14
     * @param array $facetSpec [optional]
15
     * @param int $start [optional]
16
     * @param int $limit [optional]
17
     * @param string $sort [optional]
18
     * @return ArrayData - must contain at least 'Matches' with an list of data objects that match the search
19
     */
20
    public function searchFromVars($keywords, array $filters=array(), array $facetSpec=array(), $start=-1, $limit=-1, $sort='');
21
}
22