ContextInterface
└─SubcontextableContextInterface
└─ExtendedContextInterface
public interface ExtendedContextInterface
extends SubcontextableContextInterface
| Method Summary | |
|---|---|
| void | setParentContext(ExtendedContextInterface parentContext) Sets parent context of current context. |
| ExtendedContextInterface | Returns main context. |
| ExtendedContextInterface | getSubcontext(string alias) Find current context's subcontext by alias name. |
| Methods inherited from Behat\Behat\Context\SubcontextableContextInterface | |
|---|---|
| getSubcontextByClassName, getSubcontexts | |
public void setParentContext(ExtendedContextInterface parentContext)
Sets parent context of current context.
public ExtendedContextInterface getMainContext()
Returns main context.
public ExtendedContextInterface getSubcontext(string alias)
Find current context's subcontext by alias name.
Extended context interface.