function ContextConfig::__construct

Constructs the object.

Parameters

array $values: Some initial values to set. In the same format as returned from static::toArray().

File

src/Context/ContextConfig.php, line 47

Class

ContextConfig
Class for value objects helping with context configuration.

Namespace

Drupal\rules\Context

Code

protected function __construct(array $values) {
    $this->config = $values + $this->config;
}