function ConditionExpressionContainer::__clone

PHP magic __clone function.

File

src/Engine/ConditionExpressionContainer.php, line 130

Class

ConditionExpressionContainer
Container for conditions.

Namespace

Drupal\rules\Engine

Code

public function __clone() {
    // Implement a deep clone.
    foreach ($this->conditions as &$condition) {
        $condition = clone $condition;
    }
}