function DevelCommands::__construct

Same name in this branch
  1. 5.x src/Drush/Commands/DevelCommands.php \Drupal\devel\Drush\Commands\DevelCommands::__construct()
Same name in other branches
  1. 4.x src/Commands/DevelCommands.php \Drupal\devel\Commands\DevelCommands::__construct()

Constructs a new DevelCommands object.

File

src/Commands/DevelCommands.php, line 46

Class

DevelCommands
Class DevelCommands.

Namespace

Drupal\devel\Commands

Code

public function __construct(Token $token, $container, $eventDispatcher, $moduleHandler) {
    parent::__construct();
    $this->token = $token;
    $this->container = $container;
    $this->eventDispatcher = $eventDispatcher;
    $this->moduleHandler = $moduleHandler;
}