4 * This file is part of the Behat Gherkin.
5 * (c) Konstantin Kudryashov <ever.zet@gmail.com>
7 * For the full copyright and license information, please view the LICENSE
8 * file that was distributed with this source code.
11 namespace Behat\Gherkin\Node;
14 * Gherkin tagged node interface.
16 * @author Konstantin Kudryashov <ever.zet@gmail.com>
18 interface TaggedNodeInterface extends NodeInterface
21 * Checks if node is tagged with tag.
27 public function hasTag($tag);
30 * Checks if node has tags (both inherited from feature and own).
34 public function hasTags();
37 * Returns node tags (including inherited from feature).
41 public function getTags();