File: //usr/local/wp/vendor/behat/behat/src/Behat/Behat/Context/ContextClass/ClassResolver.php
<?php
/*
* This file is part of the Behat.
* (c) Konstantin Kudryashov <ever.zet@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Behat\Behat\Context\ContextClass;
use Behat\Behat\Context\Environment\Handler\ContextEnvironmentHandler;
/**
* Resolves arbitrary context strings into a context classes.
*
* @see ContextEnvironmentHandler
*
* @author Konstantin Kudryashov <ever.zet@gmail.com>
*/
interface ClassResolver
{
/**
* Checks if resolvers supports provided class.
*
* @param string $contextString
*
* @return bool
*/
public function supportsClass($contextString);
/**
* Resolves context class.
*
* @param string $contextClass
*
* @return string
*/
public function resolveClass($contextClass);
}