function DevelCommands::getEventDispatcher

Same name in this branch
  1. 5.x src/Commands/DevelCommands.php \Drupal\devel\Commands\DevelCommands::getEventDispatcher()
Same name in other branches
  1. 8.x-1.x src/Commands/DevelCommands.php \Drupal\devel\Commands\DevelCommands::getEventDispatcher()
  2. 4.x src/Commands/DevelCommands.php \Drupal\devel\Commands\DevelCommands::getEventDispatcher()

Gets the event dispatcher.

Return value

\Symfony\Contracts\EventDispatcher\EventDispatcherInterface The eventDispatcher.

File

src/Drush/Commands/DevelCommands.php, line 70

Class

DevelCommands

Namespace

Drupal\devel\Drush\Commands

Code

public function getEventDispatcher() : EventDispatcherInterface {
    return $this->eventDispatcher;
}