KeyValueFactory::__construct

KeyValueFactory::__construct(ContainerInterface $container, array $options = array())

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 53

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;
}
doc_Drupal
2016-10-29 09:21:48
Comments
Leave a Comment

Please login to continue.