1 | <?php |
||
25 | class ResultConverter |
||
26 | { |
||
27 | /** |
||
28 | * Current filter used for conversion |
||
29 | * |
||
30 | * @var AbstractPaginationQuery |
||
31 | */ |
||
32 | protected $filter; |
||
33 | |||
34 | /** |
||
35 | * Convert result into entity |
||
36 | * |
||
37 | * @param AbstractPaginationQuery $filter |
||
38 | * @param \SolrQueryResponse $queryResponse |
||
39 | * @return EntityType[] |
||
40 | */ |
||
41 | public function convert($filter, $queryResponse) |
||
67 | |||
68 | /** |
||
69 | * Handles mapped property defined by query filter |
||
70 | * |
||
71 | * @param $property |
||
72 | * @param $object |
||
73 | * @param $value |
||
74 | */ |
||
75 | public function handleMappedProperty($property,$object,$value) |
||
82 | |||
83 | /** |
||
84 | * Convert date formatted string into a DateTime object |
||
85 | * |
||
86 | * @param string $value |
||
87 | * @return \DateTime|string |
||
88 | */ |
||
89 | public function validateDate($value) |
||
100 | |||
101 | /** |
||
102 | * Create a new instance of ResultConverter |
||
103 | * @param ServiceLocatorInterface $sl |
||
104 | * @return ResultConverter |
||
105 | */ |
||
106 | static public function factory(ServiceLocatorInterface $sl) |
||
110 | } |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.