function ExpressionContainerInterface::getIterator

Returns an iterator for expressions in this container.

Return value

\Traversable An object that may be iterated with "foreach".

3 methods override ExpressionContainerInterface::getIterator()
ActionExpressionContainer::getIterator in src/Engine/ActionExpressionContainer.php
Returns an iterator for expressions in this container.
ConditionExpressionContainer::getIterator in src/Engine/ConditionExpressionContainer.php
Returns an iterator for expressions in this container.
RuleExpression::getIterator in src/Plugin/RulesExpression/RuleExpression.php
Returns an iterator for expressions in this container.

File

src/Engine/ExpressionContainerInterface.php, line 76

Class

ExpressionContainerInterface
Defines a common interface for expressions containing other expressions.

Namespace

Drupal\rules\Engine

Code

public function getIterator() : \Traversable;