Behat


Behat\Behat\Context\ExtendedContextInterface
Behat/Behat/Context/ExtendedContextInterface.php at line 18

Interface ExtendedContextInterface

ContextInterface
└─SubcontextableContextInterface
└─ExtendedContextInterface

public interface ExtendedContextInterface
extends SubcontextableContextInterface

Extended context interface.

Author:
Konstantin Kudryashov

Method Summary
void

setParentContext(ExtendedContextInterface parentContext)

Sets parent context of current context.

ExtendedContextInterface

getMainContext()

Returns main context.

ExtendedContextInterface

getSubcontext(string alias)

Find current context's subcontext by alias name.

Methods inherited from Behat\Behat\Context\SubcontextableContextInterface
getSubcontextByClassName, getSubcontexts

Method Detail

Behat/Behat/Context/ExtendedContextInterface.php at line 25

setParentContext

public void setParentContext(ExtendedContextInterface parentContext)

Sets parent context of current context.


Behat/Behat/Context/ExtendedContextInterface.php at line 32

getMainContext

public ExtendedContextInterface getMainContext()

Returns main context.


Behat/Behat/Context/ExtendedContextInterface.php at line 41

getSubcontext

public ExtendedContextInterface getSubcontext(string alias)

Find current context's subcontext by alias name.


Behat