]> _ Git - fluidbook_tools.git/commitdiff
wip #4666 @0.5
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 14 Sep 2021 12:38:18 +0000 (14:38 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 14 Sep 2021 12:38:18 +0000 (14:38 +0200)
src/Search/SearchIndex.php [new file with mode: 0644]

diff --git a/src/Search/SearchIndex.php b/src/Search/SearchIndex.php
new file mode 100644 (file)
index 0000000..afe9759
--- /dev/null
@@ -0,0 +1,18 @@
+<?php
+
+namespace Fluidbook\Tools\Search;
+
+class SearchIndex
+{
+    protected $_pages = [];
+
+    public function __construct()
+    {
+
+    }
+
+    public function addPage($page, $path)
+    {
+        $this->_pages[$page] = $path;
+    }
+}