You are here

protected function Setup::execute in DRD Agent 4.0.x

Same name in this branch
  1. 4.0.x src/Setup.php \Drupal\drd_agent\Setup::execute()
  2. 4.0.x src/Command/Setup.php \Drupal\drd_agent\Command\Setup::execute()
Same name and namespace in other branches
  1. 8.3 src/Command/Setup.php \Drupal\drd_agent\Command\Setup::execute()

File

src/Command/Setup.php, line 55

Class

Setup
Class Setup.

Namespace

Drupal\drd_agent\Command

Code

protected function execute(InputInterface $input, OutputInterface $output) {
  $_SESSION['drd_agent_authorization_values'] = $input
    ->getArgument('token');
  $this->setupService
    ->execute();
  unset($_SESSION['drd_agent_authorization_values']);
}