[ Index ]

PHP Cross Reference of phpBB-3.2.11-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       * The event listener method receives a Symfony\Component\Console\Event\ConsoleCommandEvent
  27       * instance.
  28       *
  29       * @Event
  30       */
  31      const COMMAND = 'console.command';
  32  
  33      /**
  34       * The TERMINATE event allows you to attach listeners after a command is
  35       * executed by the console.
  36       *
  37       * The event listener method receives a Symfony\Component\Console\Event\ConsoleTerminateEvent
  38       * instance.
  39       *
  40       * @Event
  41       */
  42      const TERMINATE = 'console.terminate';
  43  
  44      /**
  45       * The EXCEPTION event occurs when an uncaught exception appears.
  46       *
  47       * This event allows you to deal with the exception or
  48       * to modify the thrown exception. The event listener method receives
  49       * a Symfony\Component\Console\Event\ConsoleExceptionEvent
  50       * instance.
  51       *
  52       * @Event
  53       */
  54      const EXCEPTION = 'console.exception';
  55  }


Generated: Wed Nov 11 20:33:01 2020 Cross-referenced by PHPXref 0.7.1