You are here

public function InviteService::__construct in Open Social 10.3.x

Same name and namespace in other branches
  1. 8.9 modules/social_features/social_core/src/InviteService.php \Drupal\social_core\InviteService::__construct()
  2. 10.0.x modules/social_features/social_core/src/InviteService.php \Drupal\social_core\InviteService::__construct()
  3. 10.1.x modules/social_features/social_core/src/InviteService.php \Drupal\social_core\InviteService::__construct()
  4. 10.2.x modules/social_features/social_core/src/InviteService.php \Drupal\social_core\InviteService::__construct()

InviteService constructor.

Parameters

\Symfony\Component\HttpFoundation\RequestStack $request_stack: Request.

\Drupal\Core\Extension\ModuleHandlerInterface $moduleHandler: ModuleHandler.

\Drupal\Core\Session\AccountProxyInterface $currentUser: The current user.

File

modules/social_features/social_core/src/InviteService.php, line 45

Class

InviteService
Class InviteService.

Namespace

Drupal\social_core

Code

public function __construct(RequestStack $request_stack, ModuleHandlerInterface $moduleHandler, AccountProxyInterface $currentUser) {
  $this->requestStack = $request_stack;
  $this->moduleHandler = $moduleHandler;
  $this->currentUser = $currentUser;
}