public function DevelCommands::__construct in Devel 8.2
Same name and namespace in other branches
- 8.3 src/Commands/DevelCommands.php \Drupal\devel\Commands\DevelCommands::__construct()
- 8 src/Commands/DevelCommands.php \Drupal\devel\Commands\DevelCommands::__construct()
- 4.x src/Commands/DevelCommands.php \Drupal\devel\Commands\DevelCommands::__construct()
File
- src/
Commands/ DevelCommands.php, line 29
Class
- DevelCommands
- For commands that are parts of modules, Drush expects to find commandfiles in __MODULE__/src/Commands, and the namespace is Drupal/__MODULE__/Commands.
Namespace
Drupal\devel\CommandsCode
public function __construct(Token $token, $container, $eventDispatcher, $moduleHandler) {
parent::__construct();
$this->token = $token;
$this->container = $container;
$this->eventDispatcher = $eventDispatcher;
$this->moduleHandler = $moduleHandler;
}