Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ConsoleCommandEvent.php

ConsoleCommandEvent::$commandShouldRun

Indicates if the command should be run or skipped.

Type: commandShouldRun

File

vendor/symfony/console/Event/ConsoleCommandEvent.php, line 32

Class

ConsoleCommandEvent
Allows to do things before the command is executed, like skipping the command or executing code before the command is going to be executed.

Namespace

Symfony\Component\Console\Event

Code

private bool $commandShouldRun = true;

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal