function ConditionExpressionContainer::getIterator
Overrides ExpressionContainerInterface::getIterator
File
-
src/
Engine/ ConditionExpressionContainer.php, line 121
Class
- ConditionExpressionContainer
- Container for conditions.
Namespace
Drupal\rules\EngineCode
public function getIterator() : \Traversable {
$iterator = new \ArrayIterator($this->conditions);
$iterator->uasort([
ExpressionContainerBase::class,
'sortByWeightProperty',
]);
return $iterator;
}