You are here

function KeyValueFactory::__construct in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/KeyValueStore/KeyValueFactory.php \Drupal\Core\KeyValueStore\KeyValueFactory::__construct()

Parameters

\Symfony\Component\DependencyInjection\ContainerInterface $container: The service container.

array $options: (optional) Collection-specific storage override options.

File

core/lib/Drupal/Core/KeyValueStore/KeyValueFactory.php, line 58
Contains \Drupal\Core\KeyValueStore\KeyValueFactory.

Class

KeyValueFactory
Defines the key/value store factory.

Namespace

Drupal\Core\KeyValueStore

Code

function __construct(ContainerInterface $container, array $options = array()) {
  $this->container = $container;
  $this->options = $options;
}