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