public function StorageBase::__construct

public StorageBase::__construct($collection)

File

core/lib/Drupal/Core/KeyValueStore/StorageBase.php, line 20

Class

StorageBase
Provides a base class for key/value storage implementations.

Namespace

Drupal\Core\KeyValueStore

Code

public function __construct($collection) {
  $this->collection = $collection;
}

© 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!StorageBase.php/function/StorageBase::__construct/8.1.x