You are here

function ApcuRawBackendFactory::__construct in Supercache 8

Same name and namespace in other branches
  1. 2.0.x src/Cache/ApcuRawBackendFactory.php \Drupal\supercache\Cache\ApcuRawBackendFactory::__construct()

Constructs the ApcuRawBackendFactory

Parameters

string $root: The site's root.

string $site_path : The site's path.

File

src/Cache/ApcuRawBackendFactory.php, line 30
Contains \Drupal\supercache\Cache\ApcuRawBackendFactory.

Class

ApcuRawBackendFactory

Namespace

Drupal\supercache\Cache

Code

function __construct($root, $site_path) {
  $this->sitePrefix = Settings::getApcuPrefix('apcu_backend', $root, $site_path);
}