Security update for permissions_by_term
[yaffs-website] / vendor / behat / behat / src / Behat / Behat / Snippet / Snippet.php
1 <?php
2
3 /*
4  * This file is part of the Behat.
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\Behat\Snippet;
12
13 use Behat\Gherkin\Node\StepNode;
14
15 /**
16  * Step definition snippet.
17  *
18  * @author Konstantin Kudryashov <ever.zet@gmail.com>
19  */
20 interface Snippet
21 {
22     /**
23      * Returns snippet type.
24      *
25      * @return string
26      */
27     public function getType();
28
29     /**
30      * Returns snippet unique ID (step type independent).
31      *
32      * @return string
33      */
34     public function getHash();
35
36     /**
37      * Returns definition snippet text.
38      *
39      * @return string
40      */
41     public function getSnippet();
42
43     /**
44      * Returns step which asked for this snippet.
45      *
46      * @return StepNode
47      */
48     public function getStep();
49
50     /**
51      * Returns snippet target.
52      *
53      * @return string
54      */
55     public function getTarget();
56 }