Sha256: 6d5b48cbc5a2dbe97562886a0fb93716ae69f1100daef5c64774ceb9e735b417

Contents?: true

Size: 1.29 KB

Versions: 40

Compression:

Stored size: 1.29 KB

Contents

<?php

/*
 * This file is part of the Symfony package.
 *
 * (c) Fabien Potencier <fabien@symfony.com>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Symfony\Component\Console;

/**
 * Contains all events dispatched by an Application.
 *
 * @author Francesco Levorato <git@flevour.net>
 */
final class ConsoleEvents
{
    /**
     * The COMMAND event allows you to attach listeners before any command is
     * executed by the console. It also allows you to modify the command, input and output
     * before they are handled to the command.
     *
     * @Event("Symfony\Component\Console\Event\ConsoleCommandEvent")
     */
    const COMMAND = 'console.command';

    /**
     * The TERMINATE event allows you to attach listeners after a command is
     * executed by the console.
     *
     * @Event("Symfony\Component\Console\Event\ConsoleTerminateEvent")
     */
    const TERMINATE = 'console.terminate';

    /**
     * The ERROR event occurs when an uncaught exception or error appears.
     *
     * This event allows you to deal with the exception/error or
     * to modify the thrown exception.
     *
     * @Event("Symfony\Component\Console\Event\ConsoleErrorEvent")
     */
    const ERROR = 'console.error';
}

Version data entries

40 entries across 40 versions & 1 rubygems

Version Path
dependabot-composer-0.112.1 helpers/vendor/symfony/console/ConsoleEvents.php
dependabot-composer-0.111.57 helpers/vendor/symfony/console/ConsoleEvents.php
dependabot-composer-0.111.56 helpers/vendor/symfony/console/ConsoleEvents.php
dependabot-composer-0.111.52 helpers/vendor/symfony/console/ConsoleEvents.php
dependabot-composer-0.111.50 helpers/vendor/symfony/console/ConsoleEvents.php
dependabot-composer-0.111.25 helpers/vendor/symfony/console/ConsoleEvents.php
dependabot-composer-0.111.17 helpers/vendor/symfony/console/ConsoleEvents.php
dependabot-composer-0.111.15 helpers/vendor/symfony/console/ConsoleEvents.php
dependabot-composer-0.110.13 helpers/vendor/symfony/console/ConsoleEvents.php
dependabot-composer-0.108.11 helpers/vendor/symfony/console/ConsoleEvents.php
dependabot-composer-0.108.8 helpers/vendor/symfony/console/ConsoleEvents.php
dependabot-composer-0.107.47 helpers/vendor/symfony/console/ConsoleEvents.php
dependabot-composer-0.107.39 helpers/vendor/symfony/console/ConsoleEvents.php
dependabot-composer-0.107.36 helpers/vendor/symfony/console/ConsoleEvents.php
dependabot-composer-0.107.28 helpers/vendor/symfony/console/ConsoleEvents.php
dependabot-composer-0.107.14 helpers/vendor/symfony/console/ConsoleEvents.php
dependabot-composer-0.106.12 helpers/vendor/symfony/console/ConsoleEvents.php
dependabot-composer-0.106.11 helpers/vendor/symfony/console/ConsoleEvents.php
dependabot-composer-0.106.5 helpers/vendor/symfony/console/ConsoleEvents.php
dependabot-composer-0.100.2 helpers/vendor/symfony/console/ConsoleEvents.php