diff --git a/system/src/Grav/Framework/Flex/FlexIndex.php b/system/src/Grav/Framework/Flex/FlexIndex.php index 4dadb7b8f..9a9a705db 100644 --- a/system/src/Grav/Framework/Flex/FlexIndex.php +++ b/system/src/Grav/Framework/Flex/FlexIndex.php @@ -82,6 +82,17 @@ class FlexIndex extends ObjectIndex implements FlexCollectionInterface, FlexInde $this->setKeyField(null); } + /** + * @param string $search + * @param string|string[]|null $properties + * @param array|null $options + * @return FlexCollectionInterface + */ + public function search(string $search, $properties = null, array $options = null) // : FlexCollectionInterface + { + return $this->__call('search', [$search, $properties, $options]); + } + /** * @return FlexDirectory */