1 | <?php |
||
26 | class BaseViewFinder extends AbstractFinder |
||
27 | { |
||
28 | |||
29 | /** |
||
30 | * Find a result based on a specific criteria. |
||
31 | * |
||
32 | * @since 0.1.0 |
||
33 | * |
||
34 | * @param array $criteria Criteria to search for. |
||
35 | * @param Engine|null $engine Optional. Engine to use with the view. |
||
36 | * |
||
37 | * @return View View that was found. |
||
38 | */ |
||
39 | 29 | public function find(array $criteria, Engine $engine = null) |
|
55 | |||
56 | /** |
||
57 | * Get the config key for the Findables definitions. |
||
58 | * |
||
59 | * @since 0.1.0 |
||
60 | * |
||
61 | * @return string Config key use to define the Findables. |
||
62 | */ |
||
63 | 30 | protected function getFindablesConfigKey() |
|
67 | } |
||
68 |