public function Base::__construct in DRD Agent 4.0.x
Same name in this branch
- 4.0.x src/Agent/Action/Base.php \Drupal\drd_agent\Agent\Action\Base::__construct()
- 4.0.x src/Agent/Remote/Base.php \Drupal\drd_agent\Agent\Remote\Base::__construct()
- 4.0.x src/Agent/Auth/Base.php \Drupal\drd_agent\Agent\Auth\Base::__construct()
Same name and namespace in other branches
- 8.3 src/Agent/Auth/Base.php \Drupal\drd_agent\Agent\Auth\Base::__construct()
Base constructor.
Parameters
\Drupal\Core\Session\AccountInterface $current_User:
\Drupal\Core\State\StateInterface $state:
\Drupal\user\UserAuthInterface $user_auth:
File
- src/
Agent/ Auth/ Base.php, line 45
Class
- Base
- Base class for Remote DRD Auth Methods.
Namespace
Drupal\drd_agent\Agent\AuthCode
public function __construct(AccountInterface $current_User, StateInterface $state, UserAuthInterface $user_auth) {
$this->currentUser = $current_User;
$this->state = $state;
$this->userAuth = $user_auth;
}