function RulesComponent::__clone

PHP magic __clone function.

File

src/Engine/RulesComponent.php, line 330

Class

RulesComponent
Handles executable Rules components.

Namespace

Drupal\rules\Engine

Code

public function __clone() {
    // Implement a deep clone.
    $this->state = clone $this->state;
    $this->expression = clone $this->expression;
}