You are here

public function BoostCache::__construct in Boost 8

Constructs a new BoostCache.

File

src/BoostCache.php, line 41
Contains Drupal\boost\BoostCache

Class

BoostCache
The BoostCache class.

Namespace

Drupal\boost

Code

public function __construct() {
  $this->handler = new BoostCacheHandler();
  $this->route = new BoostCacheRoute(\Drupal::service('path.current'), \Drupal::service('path.alias_manager'));
  $this->logger = \Drupal::logger('boost');
}