|
|
static Environment | $environment = null |
| | Behat environment.
|
| |
|
static Escaper::escapeLiteral | $escaper |
| |
|
static array | $nonexistingcontexts = array() |
| | keep track of nonexisting contexts, to avoid exception tracking.
|
| |
◆ escape()
| static behat_context_helper::escape |
( |
|
$label | ) |
|
|
static |
Translates string to XPath literal.
- Parameters
-
| string | $label | label to escape |
- Return values
-
◆ get()
| static behat_context_helper::get |
( |
|
$classname | ) |
|
|
static |
Gets the required context.
Getting a context you get access to all the steps that uses direct API calls; steps returning step chains can not be executed like this.
- Exceptions
-
| Behat::Behat::Context::Exception::ContextNotFoundException | |
- Parameters
-
| string | $classname | Context identifier (the class name). |
- Return values
-
◆ get_component_context()
| static behat_context_helper::get_component_context |
( |
string |
$component | ) |
|
|
static |
Get the context for the specified component or subsystem.
- Parameters
-
| string | $component | The component or subsystem to find the context for |
- Return values
-
◆ get_theme_override()
| static behat_context_helper::get_theme_override |
( |
string |
$classname | ) |
|
|
staticprotected |
Check for any theme override of the specified class name.
- Parameters
-
- Return values
-
◆ has_context()
| static behat_context_helper::has_context |
( |
string |
$classname | ) |
|
|
static |
Return whether there is a context of the specified classname.
- Parameters
-
- Return values
-
◆ set_environment()
| static behat_context_helper::set_environment |
( |
Environment |
$environment | ) |
|
|
static |
Sets behat environment.
- Parameters
-
- Return values
-
◆ set_session()
| static behat_context_helper::set_session |
( |
Environment |
$environment | ) |
|
|
static |
The documentation for this class was generated from the following file: