function 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\KeyValueStoreCode
function __construct(ContainerInterface $container, array $options = array()) { $this->container = $container; $this->options = $options; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!KeyValueStore!KeyValueFactory.php/function/KeyValueFactory::__construct/8.1.x