e4f5f17942fedef18602924e7bb4b59f75daba66
[yaffs-website] / vendor / behat / mink / src / Selector / SelectorInterface.php
1 <?php
2
3 /*
4  * This file is part of the Mink package.
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\Mink\Selector;
12
13 /**
14  * Mink selector engine interface.
15  *
16  * @author Konstantin Kudryashov <ever.zet@gmail.com>
17  */
18 interface SelectorInterface
19 {
20     /**
21      * Translates provided locator into XPath.
22      *
23      * @param string|array $locator current selector locator
24      *
25      * @return string
26      */
27     public function translateToXPath($locator);
28 }