Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | public function recommendedFor($query) |
||
11 | { |
||
12 | $data = ['options' => ['scope' => 'pins', 'query' => $query]]; |
||
13 | $get = Request::createQuery( |
||
14 | $data, "/search/pins/?q=" . $query |
||
15 | ); |
||
16 | $response = $this->getRequest()->exec(UrlHelper::getSearchUrl() . '?' . $get); |
||
17 | |||
18 | return $this->parseKeywordsFromRequest($response); |
||
19 | } |
||
20 | |||
39 | } |