Behat/Behat/Context/Loader/LoaderInterface.php
namespace Behat\Behat\Context\Loader;
use Behat\Behat\Context\ContextInterface;
/*
* This file is part of the Behat.
* (c) Konstantin Kudryashov
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/**
* Context loader interface.
*
* @author Konstantin Kudryashov
*/
interface LoaderInterface
{
/**
* Checks if loader supports provided context.
*
* @param ContextInterface $context
*
* @return Boolean
*/
public function supports(ContextInterface $context);
/**
* Loads definitions and translations from provided context.
*
* @param ContextInterface $context
*/
public function load(ContextInterface $context);
}