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; }
Please login to continue.