You are here

function VarnishBackend::__construct in Varnish 8

Constructs a VarnishBackend object.

Parameters

string $bin: The cache bin for which the object is created.

File

src/Cache/VarnishBackend.php, line 20

Class

VarnishBackend

Namespace

Drupal\varnish\Cache

Code

function __construct($bin, $pathAliasManager) {
  $this->bin = $bin;
  $this->pathAliasManager = $pathAliasManager;
}