Security update for permissions_by_term
[yaffs-website] / vendor / behat / gherkin / src / Behat / Gherkin / Node / TaggedNodeInterface.php
diff --git a/vendor/behat/gherkin/src/Behat/Gherkin/Node/TaggedNodeInterface.php b/vendor/behat/gherkin/src/Behat/Gherkin/Node/TaggedNodeInterface.php
new file mode 100644 (file)
index 0000000..cce6bca
--- /dev/null
@@ -0,0 +1,42 @@
+<?php
+
+/*
+ * This file is part of the Behat Gherkin.
+ * (c) Konstantin Kudryashov <ever.zet@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Behat\Gherkin\Node;
+
+/**
+ * Gherkin tagged node interface.
+ *
+ * @author Konstantin Kudryashov <ever.zet@gmail.com>
+ */
+interface TaggedNodeInterface extends NodeInterface
+{
+    /**
+     * Checks if node is tagged with tag.
+     *
+     * @param string $tag
+     *
+     * @return Boolean
+     */
+    public function hasTag($tag);
+
+    /**
+     * Checks if node has tags (both inherited from feature and own).
+     *
+     * @return Boolean
+     */
+    public function hasTags();
+
+    /**
+     * Returns node tags (including inherited from feature).
+     *
+     * @return string[]
+     */
+    public function getTags();
+}