Your IP : 216.73.216.43


Current Path : /home/rtorresani/www/vendor/behat/gherkin/src/Behat/Gherkin/Node/
Upload File :
Current File : //home/rtorresani/www/vendor/behat/gherkin/src/Behat/Gherkin/Node/TaggedNodeInterface.php

<?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 bool
     */
    public function hasTag($tag);

    /**
     * Checks if node has tags (both inherited from feature and own).
     *
     * @return bool
     */
    public function hasTags();

    /**
     * Returns node tags (including inherited from feature).
     *
     * @return string[]
     */
    public function getTags();
}