public function AliasManagerCacheDecorator::__construct

Constructs a \Drupal\Core\CacheDecorator\AliasManagerCacheDecorator.

File

drupal/core/lib/Drupal/Core/CacheDecorator/AliasManagerCacheDecorator.php, line 52
Contains Drupal\Core\CacheDecorator\AliasManagerCacheDecorator.

Class

AliasManagerCacheDecorator
Class used by the PathSubscriber to get the system path and cache path lookups.

Namespace

Drupal\Core\CacheDecorator

Code

public function __construct(AliasManagerInterface $alias_manager, CacheBackendInterface $cache) {
  $this->aliasManager = $alias_manager;
  $this->cache = $cache;
}