Uname: Linux dedi-15171674.espacofacial.com.br 5.14.0-687.36.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Aug 7 05:40:49 EDT 2026 x86_64
Software: Apache
PHP version: 8.2.33 [ PHP INFO ] PHP os: Linux
Server Ip: 104.21.5.151
Your Ip: 216.73.217.141
User: espa7358 (1004) | Group: espa7358 (1003)
Safe Mode: OFF
Disable Function:
NONE

name : ConsoleEvents.php
<?php
/**
 * Part of the Joomla Framework Console Package
 *
 * @copyright  Copyright (C) 2005 - 2021 Open Source Matters, Inc. All rights reserved.
 * @license    GNU General Public License version 2 or later; see LICENSE
 */

namespace Joomla\Console;

/**
 * Class defining the events available in the console application.
 *
 * @since  2.0.0
 */
final class ConsoleEvents
{
	/**
	 * The APPLICATION_ERROR event is an event triggered when an uncaught Throwable is received at the main application executor.
	 *
	 * This event allows developers to handle the Throwable.
	 *
	 * @var    string
	 * @since  2.0.0
	 */
	public const APPLICATION_ERROR = 'console.application_error';

	/**
	 * The BEFORE_COMMAND_EXECUTE event is an event triggered before a command is executed.
	 *
	 * This event allows developers to modify information about the command or the command's
	 * dependencies prior to the command being executed.
	 *
	 * @var    string
	 * @since  2.0.0
	 */
	public const BEFORE_COMMAND_EXECUTE = 'console.before_command_execute';

	/**
	 * The COMMAND_ERROR event is an event triggered when an uncaught Throwable from a command is received.
	 *
	 * This event allows developers to handle the Throwable.
	 *
	 * @var    string
	 * @since  2.0.0
	 */
	public const COMMAND_ERROR = 'console.command_error';

	/**
	 * The TERMINATE event is an event triggered immediately before the application is exited.
	 *
	 * This event allows developers to perform any post-process actions and to manipulate
	 * the process' exit code.
	 *
	 * @var    string
	 * @since  2.0.0
	 */
	public const TERMINATE = 'console.terminate';
}
© 2026 UnknownSec