function MockPhpStorage::__construct

Same name in other branches
  1. 8.9.x core/modules/system/src/PhpStorage/MockPhpStorage.php \Drupal\system\PhpStorage\MockPhpStorage::__construct()
  2. 10 core/modules/system/src/PhpStorage/MockPhpStorage.php \Drupal\system\PhpStorage\MockPhpStorage::__construct()
  3. 11.x core/modules/system/src/PhpStorage/MockPhpStorage.php \Drupal\system\PhpStorage\MockPhpStorage::__construct()

Constructs a MockPhpStorage object.

Parameters

array $configuration: The storage configuration.

File

core/modules/system/src/PhpStorage/MockPhpStorage.php, line 23

Class

MockPhpStorage
Mock PHP storage class used for testing.

Namespace

Drupal\system\PhpStorage

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.