Security update for permissions_by_term
[yaffs-website] / vendor / behat / behat / src / Behat / Behat / Context / TranslatableContext.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\Reader\TranslatableContextReader;
14
15 /**
16  * Context that implements this interface is also treated as a translation provider for all it's callees.
17  *
18  * @see TranslatableContextReader
19  *
20  * @author Konstantin Kudryashov <ever.zet@gmail.com>
21  */
22 interface TranslatableContext extends Context
23 {
24     /**
25      * Returns array of Translator-supported resource paths.
26      *
27      * For instance:
28      *
29      *  * array(__DIR__.'/../'ru.yml)
30      *  * array(__DIR__.'/../'en.xliff)
31      *  * array(__DIR__.'/../'de.php)
32      *
33      * @return string[]
34      */
35     public static function getTranslationResources();
36 }