You are here

public function Edgescape::__construct in Akamai 8.3

Constructs an Edgescape helper object.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory service.

\Symfony\Component\HttpFoundation\RequestStack $request_stack: The request stack service.

File

src/Helper/Edgescape.php, line 45

Class

Edgescape
Provides help for working with Akamai Edgescape.

Namespace

Drupal\akamai\Helper

Code

public function __construct(ConfigFactoryInterface $config_factory, RequestStack $request_stack) {
  $this->configFactory = $config_factory;
  $this->request = $request_stack
    ->getCurrentRequest();
}