summaryrefslogtreecommitdiff
path: root/lib/querypath/src/QueryPath/Query.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/querypath/src/QueryPath/Query.php')
-rw-r--r--lib/querypath/src/QueryPath/Query.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/querypath/src/QueryPath/Query.php b/lib/querypath/src/QueryPath/Query.php
new file mode 100644
index 0000000..81b5cae
--- /dev/null
+++ b/lib/querypath/src/QueryPath/Query.php
@@ -0,0 +1,12 @@
+<?php
+namespace QueryPath;
+interface Query {
+ public function __construct($document = NULL, $selector = NULL, $options = NULL);
+ public function find($selector);
+ public function top($selector = NULL);
+ public function next($selector = NULL);
+ public function prev($selector = NULL);
+ public function siblings($selector = NULL);
+ public function parent($selector = NULL);
+ public function children($selector = NULL);
+}