1: <?php
2:
3: namespace Charcoal\Cms;
4:
5: // From 'charcoal-translator'
6: use Charcoal\Translator\Translation;
7:
8: /**
9: *
10: */
11: interface SearchableInterface
12: {
13: /**
14: * @param array $properties The properties to search into.
15: * @return self
16: */
17: public function setSearchProperties(array $properties);
18:
19: /**
20: * @return array
21: */
22: public function searchProperties();
23:
24: /**
25: * @param mixed $keywords The search keywords (localized).
26: * @return self
27: */
28: public function setSearchKeywords($keywords);
29:
30: /**
31: * @return Translation|string|null
32: */
33: public function searchKeywords();
34: }
35: