[ Index ]

PHP Cross Reference of phpBB-3.3.14-deutsch

title

Body

[close]

/vendor/symfony/console/ -> ConsoleEvents.php (source)

   1  <?php
   2  
   3  /*
   4   * This file is part of the Symfony package.
   5   *
   6   * (c) Fabien Potencier <fabien@symfony.com>
   7   *
   8   * For the full copyright and license information, please view the LICENSE
   9   * file that was distributed with this source code.
  10   */
  11  
  12  namespace Symfony\Component\Console;
  13  
  14  /**
  15   * Contains all events dispatched by an Application.
  16   *
  17   * @author Francesco Levorato <git@flevour.net>
  18   */
  19  final class ConsoleEvents
  20  {
  21      /**
  22       * The COMMAND event allows you to attach listeners before any command is
  23       * executed by the console. It also allows you to modify the command, input and output
  24       * before they are handled to the command.
  25       *
  26       * @Event("Symfony\Component\Console\Event\ConsoleCommandEvent")
  27       */
  28      const COMMAND = 'console.command';
  29  
  30      /**
  31       * The TERMINATE event allows you to attach listeners after a command is
  32       * executed by the console.
  33       *
  34       * @Event("Symfony\Component\Console\Event\ConsoleTerminateEvent")
  35       */
  36      const TERMINATE = 'console.terminate';
  37  
  38      /**
  39       * The EXCEPTION event occurs when an uncaught exception appears
  40       * while executing Command#run().
  41       *
  42       * This event allows you to deal with the exception or
  43       * to modify the thrown exception.
  44       *
  45       * @Event("Symfony\Component\Console\Event\ConsoleExceptionEvent")
  46       *
  47       * @deprecated The console.exception event is deprecated since version 3.3 and will be removed in 4.0. Use the console.error event instead.
  48       */
  49      const EXCEPTION = 'console.exception';
  50  
  51      /**
  52       * The ERROR event occurs when an uncaught exception or error appears.
  53       *
  54       * This event allows you to deal with the exception/error or
  55       * to modify the thrown exception.
  56       *
  57       * @Event("Symfony\Component\Console\Event\ConsoleErrorEvent")
  58       */
  59      const ERROR = 'console.error';
  60  }


Generated: Mon Nov 25 19:05:08 2024 Cross-referenced by PHPXref 0.7.1