function MockPhpStorage::__construct

Same name in other branches
  1. 9 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:

File

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

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.