Security update for permissions_by_term
[yaffs-website] / vendor / behat / behat / src / Behat / Behat / Context / CustomSnippetAcceptingContext.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\Context;
12
13 use Behat\Behat\Context\Snippet\Generator\ContextSnippetGenerator;
14
15 /**
16  * Context that implements this interface is treated as a custom-snippet-friendly context.
17  *
18  * @see ContextSnippetGenerator
19  *
20  * @author Konstantin Kudryashov <ever.zet@gmail.com>
21  *
22  * @deprecated will be removed in 4.0. Use --snippets-for and --snippets-type CLI options instead
23  */
24 interface CustomSnippetAcceptingContext extends SnippetAcceptingContext
25 {
26     /**
27      * Returns type of the snippets that this context accepts. 
28      * 
29      * Behat implements a couple of types by default: "regex" and "turnip"
30      *
31      * @return string
32      */
33     public static function getAcceptedSnippetType();
34 }