Security update for permissions_by_term
[yaffs-website] / vendor / behat / gherkin / src / Behat / Gherkin / Node / TaggedNodeInterface.php
1 <?php
2
3 /*
4  * This file is part of the Behat Gherkin.
5  * (c) Konstantin Kudryashov <ever.zet@gmail.com>
6  *
7  * For the full copyright and license information, please view the LICENSE
8  * file that was distributed with this source code.
9  */
10
11 namespace Behat\Gherkin\Node;
12
13 /**
14  * Gherkin tagged node interface.
15  *
16  * @author Konstantin Kudryashov <ever.zet@gmail.com>
17  */
18 interface TaggedNodeInterface extends NodeInterface
19 {
20     /**
21      * Checks if node is tagged with tag.
22      *
23      * @param string $tag
24      *
25      * @return Boolean
26      */
27     public function hasTag($tag);
28
29     /**
30      * Checks if node has tags (both inherited from feature and own).
31      *
32      * @return Boolean
33      */
34     public function hasTags();
35
36     /**
37      * Returns node tags (including inherited from feature).
38      *
39      * @return string[]
40      */
41     public function getTags();
42 }