public function MockPhpStorage::__construct in Drupal 10
Same name and namespace in other branches
- 8 core/modules/system/src/PhpStorage/MockPhpStorage.php \Drupal\system\PhpStorage\MockPhpStorage::__construct()
- 9 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\PhpStorageCode
public function __construct(array $configuration) {
$this->configuration = $configuration;
}