4 * This file is part of the Behat.
5 * (c) Konstantin Kudryashov <ever.zet@gmail.com>
7 * For the full copyright and license information, please view the LICENSE
8 * file that was distributed with this source code.
11 namespace Behat\Behat\Context;
13 use Behat\Behat\Context\Reader\TranslatableContextReader;
16 * Context that implements this interface is also treated as a translation provider for all it's callees.
18 * @see TranslatableContextReader
20 * @author Konstantin Kudryashov <ever.zet@gmail.com>
22 interface TranslatableContext extends Context
25 * Returns array of Translator-supported resource paths.
29 * * array(__DIR__.'/../'ru.yml)
30 * * array(__DIR__.'/../'en.xliff)
31 * * array(__DIR__.'/../'de.php)
35 public static function getTranslationResources();