11aaa4f6bdf2a4d249080676798d081d9f74bfce
[yaffs-website] / vendor / behat / mink-extension / src / Behat / MinkExtension / Context / MinkAwareContext.php
1 <?php
2
3 /*
4  * This file is part of the Behat MinkExtension.
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\MinkExtension\Context;
12
13 use Behat\Behat\Context\Context;
14 use Behat\Mink\Mink;
15
16 /**
17  * Mink aware interface for contexts.
18  *
19  * @author Konstantin Kudryashov <ever.zet@gmail.com>
20  */
21 interface MinkAwareContext extends Context
22 {
23     /**
24      * Sets Mink instance.
25      *
26      * @param Mink $mink Mink session manager
27      */
28     public function setMink(Mink $mink);
29
30     /**
31      * Sets parameters provided for Mink.
32      *
33      * @param array $parameters
34      */
35     public function setMinkParameters(array $parameters);
36 }