You are here

public function ProxyCallbackController::__construct in CAS 8

Same name and namespace in other branches
  1. 2.x src/Controller/ProxyCallbackController.php \Drupal\cas\Controller\ProxyCallbackController::__construct()

Constructor.

Parameters

\Drupal\Core\Database\Connection $database_connection: The database service.

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

\Drupal\cas\Service\CasHelper $cas_helper: The CasHelper.

File

src/Controller/ProxyCallbackController.php, line 49

Class

ProxyCallbackController
Class ProxyCallbackController.

Namespace

Drupal\cas\Controller

Code

public function __construct(Connection $database_connection, RequestStack $request_stack, CasHelper $cas_helper) {
  $this->connection = $database_connection;
  $this->requestStack = $request_stack;
  $this->casHelper = $cas_helper;
}