You are here

public function BoostCacheRoute::__construct in Boost 8

Parameters

\Drupal\Core\Path\CurrentPathStack $current_path: The current path.

\Drupal\Core\Path\AliasManager $aliasManager: The alias manager.

File

src/BoostCacheRoute.php, line 53
Contains Drupal\boost\BoostCacheRoute

Class

BoostCacheRoute
BoostCacheRoute class.

Namespace

Drupal\boost

Code

public function __construct(CurrentPathStack $current_path, AliasManager $alias_manager) {
  $this->currentPath = $current_path;
  $this->aliasManager = $alias_manager;
  $this->schema = file_default_scheme() . '://boost';
  $this->extension = '.html';
}