3 namespace BookStack\Search\Options;
5 abstract class SearchOption
7 public function __construct(
9 public bool $negated = false,
14 * Get the key used for this option when used in a map.
15 * Null indicates to use the index of the containing array.
17 public function getKey(): string|null
23 * Get the search string representation for this search option.
25 abstract public function toString(): string;