You are here

public function OAuth2ClientController::__construct in OAuth2 Client 8

Create an OAuth2ClientController object.

Parameters

\Drupal\Core\Routing\ResettableStackedRouteMatchInterface $currentRouteMatch: The Current Route Match.

File

src/Controller/OAuth2ClientController.php, line 30

Class

OAuth2ClientController
Class OAuth2ClientController.

Namespace

Drupal\oauth2_client\Controller

Code

public function __construct(ResettableStackedRouteMatchInterface $currentRouteMatch) {
  $this->currentRouteMatch = $currentRouteMatch;
}