function DevelCommands::__construct

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

File

src/Commands/DevelCommands.php, line 43

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;
}