You are here

public function CacheBackendDecorator::__construct in Multiversion 8

Constructor

Parameters

\Drupal\Core\Cache\CacheBackendInterface $decorated:

\Drupal\multiversion\Workspace\WorkspaceManagerInterface $workspace_manager:

File

src/CacheBackendDecorator.php, line 26

Class

CacheBackendDecorator

Namespace

Drupal\multiversion

Code

public function __construct(CacheBackendInterface $decorated, WorkspaceManagerInterface $workspace_manager) {
  $this->decorated = $decorated;
  $this->workspaceManager = $workspace_manager;
}