function KeyValueFactory::__construct in Service Container 7
Same name and namespace in other branches
- 7.2 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
- lib/
Drupal/ Core/ KeyValueStore/ KeyValueFactory.php, line 58 - Contains \Drupal\Core\KeyValueStore\KeyValueFactory.
Class
- KeyValueFactory
- Defines the key/value store factory.
Namespace
Drupal\Core\KeyValueStoreCode
function __construct(ContainerInterface $container, array $options = array()) {
$this->container = $container;
$this->options = $options;
}