Class

eZ\Bundle\EzPublishCoreBundle\Features\Context\QueryControllerContext

class QueryControllerContext extends RawMinkContext implements Context

Methods

__construct(Repository $repository)

QueryControllerContext constructor.

gatherContexts(BeforeScenarioScope $scope)

addContentViewConfigurationBlock(PyStringNode $string)

aContentItemThatMatchesTheViewConfigurationBlockBelow()

createPhpFile($phpFilePath, PyStringNode $phpFileContents)

visitMatchedContent()

theViewedContentSMainLocationIdIsMappedToTheParentLocationIdQueryTypeParameter()

aLocationChildrenQueryIsBuiltFromTheLocationChildrenQueryType()

aLocationSearchIsExecutedWithTheLocationChildrenQuery()

theQueryResultsAreAssignedToTheTwigVariable($twigVariableName)

Details

at line 39
public __construct(Repository $repository)

QueryControllerContext constructor.

Parameters

Repository $repository

at line 45
public gatherContexts(BeforeScenarioScope $scope)

Parameters

BeforeScenarioScope $scope

at line 57
public addContentViewConfigurationBlock(PyStringNode $string)

Parameters

PyStringNode $string

at line 91
public aContentItemThatMatchesTheViewConfigurationBlockBelow()

at line 125
public createPhpFile($phpFilePath, PyStringNode $phpFileContents)

Parameters

$phpFilePath
PyStringNode $phpFileContents

at line 136
public visitMatchedContent()

at line 174
public theViewedContentSMainLocationIdIsMappedToTheParentLocationIdQueryTypeParameter()

at line 182
public aLocationChildrenQueryIsBuiltFromTheLocationChildrenQueryType()

at line 190
public aLocationSearchIsExecutedWithTheLocationChildrenQuery()

at line 198
public theQueryResultsAreAssignedToTheTwigVariable($twigVariableName)

Parameters

$twigVariableName