These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more
1 | <?php |
||
2 | |||
3 | /* |
||
4 | * This file is part of the ONGR package. |
||
5 | * |
||
6 | * (c) NFQ Technologies UAB <[email protected]> |
||
7 | * |
||
8 | * For the full copyright and license information, please view the LICENSE |
||
9 | * file that was distributed with this source code. |
||
10 | */ |
||
11 | |||
12 | namespace ONGR\FilterManagerBundle\Filter\Widget\Search; |
||
13 | |||
14 | use ONGR\ElasticsearchDSL\Search; |
||
15 | use ONGR\ElasticsearchBundle\Result\DocumentIterator; |
||
16 | use ONGR\FilterManagerBundle\Filter\FilterState; |
||
17 | use ONGR\FilterManagerBundle\Filter\Helper\FieldAwareInterface; |
||
18 | use ONGR\FilterManagerBundle\Filter\Helper\FieldAwareTrait; |
||
19 | use ONGR\FilterManagerBundle\Filter\ViewData; |
||
20 | use ONGR\FilterManagerBundle\Filter\Widget\AbstractSingleRequestValueFilter; |
||
21 | |||
22 | /** |
||
23 | * This class generalises filters for single value searching. |
||
24 | */ |
||
25 | abstract class AbstractSingleValue extends AbstractSingleRequestValueFilter implements FieldAwareInterface |
||
0 ignored issues
–
show
The interface
ONGR\FilterManagerBundle...per\FieldAwareInterface has been deprecated with message: FieldAwareInterface will be changed to DocumentFieldAwareInterface in 2.0
This class, trait or interface has been deprecated. The supplier of the file has supplied an explanatory message. The explanatory message should give you some clue as to whether and when the type will be removed from the class and what other constant to use instead.
Loading history...
|
|||
26 | { |
||
27 | use FieldAwareTrait; |
||
0 ignored issues
–
show
The trait
ONGR\FilterManagerBundle...\Helper\FieldAwareTrait has been deprecated with message: FieldAwareTrait will be changed to DocumentFieldAwareTrait in 2.0
This class, trait or interface has been deprecated. The supplier of the file has supplied an explanatory message. The explanatory message should give you some clue as to whether and when the type will be removed from the class and what other constant to use instead.
Loading history...
|
|||
28 | |||
29 | /** |
||
30 | * {@inheritdoc} |
||
31 | */ |
||
32 | public function getViewData(DocumentIterator $result, ViewData $data) |
||
33 | { |
||
34 | return $data; |
||
35 | } |
||
36 | |||
37 | /** |
||
38 | * {@inheritdoc} |
||
39 | */ |
||
40 | public function preProcessSearch(Search $search, Search $relatedSearch, FilterState $state = null) |
||
41 | { |
||
42 | // Nothing more to do here. |
||
43 | } |
||
44 | } |
||
45 |
This class, trait or interface has been deprecated. The supplier of the file has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the type will be removed from the class and what other constant to use instead.