public function Setup::__construct in DRD Agent 4.0.x
Same name in this branch
- 4.0.x src/Setup.php \Drupal\drd_agent\Setup::__construct()
- 4.0.x src/Command/Setup.php \Drupal\drd_agent\Command\Setup::__construct()
Same name and namespace in other branches
- 8.3 src/Setup.php \Drupal\drd_agent\Setup::__construct()
Setup constructor.
Parameters
\Drupal\Core\State\StateInterface $state:
\Drupal\Component\Datetime\TimeInterface $time:
\Symfony\Component\HttpFoundation\RequestStack $request_stack:
File
- src/
Setup.php, line 40
Class
- Setup
- Class Setup.
Namespace
Drupal\drd_agentCode
public function __construct(StateInterface $state, TimeInterface $time, RequestStack $request_stack) {
$this->state = $state;
$this->time = $time;
$this->request = $request_stack
->getCurrentRequest();
$this
->checkForRemoteSetupToken();
}