Security update for permissions_by_term
[yaffs-website] / vendor / behat / behat / src / Behat / Behat / Context / Snippet / Generator / PatternIdentifier.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\Snippet\Generator;
12
13 use Behat\Behat\Context\Context;
14
15 /**
16  * Identifies target pattern for snippets.
17  *
18  * @author Konstantin Kudryashov <ever.zet@gmail.com>
19  */
20 interface PatternIdentifier
21 {
22     /**
23      * Attempts to guess the target pattern type from the context.
24      *
25      * @param string $contextClass
26      *
27      * @return null|string
28      */
29     public function guessPatternType($contextClass);
30 }