| Server IP : 54.36.91.62 / Your IP : 216.73.217.112 Web Server : Apache System : Linux webm013.cluster127.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 User : coopiak ( 151928) PHP Version : 8.3.23 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/coopiak/amisdesseniors-fr/nice/libraries/vendor/joomla/console/src/ |
Upload File : |
<?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';
}