1 | <?php |
||
27 | class TransformedFinder implements PaginatedFinderInterface |
||
28 | { |
||
29 | protected $searchable; |
||
30 | protected $transformer; |
||
31 | |||
32 | /** |
||
33 | * @param SearchableInterface $searchable |
||
34 | * @param ElasticaToModelTransformerInterface $transformer |
||
35 | */ |
||
36 | 8 | public function __construct(SearchableInterface $searchable, ElasticaToModelTransformerInterface $transformer) |
|
41 | |||
42 | /** |
||
43 | * {@inheritdoc} |
||
44 | */ |
||
45 | 1 | public function find($query, $limit = null, $options = array()) |
|
51 | |||
52 | 1 | public function findHybrid($query, $limit = null, $options = array()) |
|
58 | |||
59 | /** |
||
60 | * Find documents similar to one with passed id. |
||
61 | * |
||
62 | * @param int $id |
||
63 | * @param array $params |
||
64 | * @param array $query |
||
65 | * |
||
66 | * @return array of model objects |
||
67 | **/ |
||
68 | 1 | public function moreLikeThis($id, $params = array(), $query = array()) |
|
75 | |||
76 | /** |
||
77 | * @param $query |
||
78 | * @param null|int $limit |
||
79 | * @param array $options |
||
80 | * |
||
81 | * @return array |
||
82 | */ |
||
83 | 1 | protected function search($query, $limit = null, $options = array()) |
|
93 | |||
94 | /** |
||
95 | * {@inheritdoc} |
||
96 | */ |
||
97 | 1 | public function findPaginated($query, $options = array()) |
|
104 | |||
105 | /** |
||
106 | * {@inheritdoc} |
||
107 | */ |
||
108 | 2 | public function createPaginatorAdapter($query, $options = array()) |
|
114 | |||
115 | /** |
||
116 | * {@inheritdoc} |
||
117 | */ |
||
118 | 1 | public function createHybridPaginatorAdapter($query) |
|
124 | |||
125 | /** |
||
126 | * {@inheritdoc} |
||
127 | */ |
||
128 | public function createRawPaginatorAdapter($query) |
||
134 | } |
||
135 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.