PHP 8.3.30
Preview: ConsoleEvents.php Size: 2.12 KB
/home/getspomw/.trash/vendor/symfony/console/ConsoleEvents.php

<?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;

use Symfony\Component\Console\Event\ConsoleCommandEvent;
use Symfony\Component\Console\Event\ConsoleErrorEvent;
use Symfony\Component\Console\Event\ConsoleSignalEvent;
use Symfony\Component\Console\Event\ConsoleTerminateEvent;

/**
 * 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 handed to the command.
     *
     * @Event("Symfony\Component\Console\Event\ConsoleCommandEvent")
     */
    public const COMMAND = 'console.command';

    /**
     * The SIGNAL event allows you to perform some actions
     * after the command execution was interrupted.
     *
     * @Event("Symfony\Component\Console\Event\ConsoleSignalEvent")
     */
    public const SIGNAL = 'console.signal';

    /**
     * The TERMINATE event allows you to attach listeners after a command is
     * executed by the console.
     *
     * @Event("Symfony\Component\Console\Event\ConsoleTerminateEvent")
     */
    public 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")
     */
    public const ERROR = 'console.error';

    /**
     * Event aliases.
     *
     * These aliases can be consumed by RegisterListenersPass.
     */
    public const ALIASES = [
        ConsoleCommandEvent::class => self::COMMAND,
        ConsoleErrorEvent::class => self::ERROR,
        ConsoleSignalEvent::class => self::SIGNAL,
        ConsoleTerminateEvent::class => self::TERMINATE,
    ];
}

Directory Contents

Dirs: 23 × Files: 11

Name Size Perms Modified Actions
Attribute DIR
- drwxrwxrwx 2025-09-17 06:53:23
Edit Download
CI DIR
- drwxrwxrwx 2025-09-17 06:53:23
Edit Download
Command DIR
- drwxrwxrwx 2026-04-19 09:04:17
Edit Download
- drwxrwxrwx 2025-09-17 06:53:23
Edit Download
- drwxrwxrwx 2025-09-17 06:53:23
Edit Download
- drwxrwxrwx 2026-04-19 09:06:43
Edit Download
Debug DIR
- drwxrwxrwx 2025-09-17 06:53:23
Edit Download
- drwxrwxrwx 2026-04-19 08:26:43
Edit Download
- drwxrwxrwx 2025-09-17 06:53:23
Edit Download
Event DIR
- drwxrwxrwx 2026-04-19 09:04:29
Edit Download
- drwxrwxrwx 2025-09-17 06:53:23
Edit Download
Exception DIR
- drwxrwxrwx 2026-04-19 11:48:37
Edit Download
Formatter DIR
- drwxrwxrwx 2026-04-19 09:05:18
Edit Download
Helper DIR
- drwxrwxrwx 2025-09-17 06:53:23
Edit Download
Input DIR
- drwxrwxrwx 2025-09-17 06:53:23
Edit Download
Logger DIR
- drwxrwxrwx 2026-04-19 12:16:38
Edit Download
Messenger DIR
- drwxrwxrwx 2025-09-17 06:53:23
Edit Download
Output DIR
- drwxrwxrwx 2025-09-17 06:53:23
Edit Download
Question DIR
- drwxrwxrwx 2026-04-19 08:26:49
Edit Download
Resources DIR
- drwxrwxrwx 2025-09-17 06:53:23
Edit Download
- drwxrwxrwx 2025-09-17 06:53:23
Edit Download
Style DIR
- drwxrwxrwx 2026-04-19 09:06:01
Edit Download
Tester DIR
- drwxrwxrwx 2026-04-19 10:21:59
Edit Download
46.71 KB lrw-rw-rw- 2025-09-17 06:53:23
Edit Download
11.37 KB lrw-rw-rw- 2025-09-17 06:53:23
Edit Download
3.70 KB lrw-rw-rw- 2025-09-17 06:53:23
Edit Download
1.63 KB lrw-rw-rw- 2025-09-17 06:53:23
Edit Download
2.12 KB lrw-rw-rw- 2025-09-17 06:53:22
Edit Download
3.88 KB lrw-rw-rw- 2025-09-17 06:53:22
Edit Download
982 B lrw-r--r-- 2026-04-19 10:09:15
Edit Download
1.04 KB lrw-rw-rw- 2025-09-17 06:53:23
Edit Download
782 B lrw-rw-rw- 2025-09-17 06:53:23
Edit Download
1.75 KB lrw-rw-rw- 2025-09-17 06:53:23
Edit Download
6.61 KB lrw-rw-rw- 2025-09-17 06:53:23
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).