public function Setup::__construct in DRD Agent 8.3
Same name in this branch
- 8.3 src/Setup.php \Drupal\drd_agent\Setup::__construct()
- 8.3 src/Command/Setup.php \Drupal\drd_agent\Command\Setup::__construct()
Same name and namespace in other branches
- 4.0.x src/Setup.php \Drupal\drd_agent\Setup::__construct()
Setup constructor.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory:
\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(ConfigFactoryInterface $config_factory, TimeInterface $time, RequestStack $request_stack) {
$this->configFactory = $config_factory;
$this->time = $time;
$this->request = $request_stack
->getCurrentRequest();
$this
->checkForRemoteSetupToken();
}