AnonSec Shell
Server IP : 46.105.57.169  /  Your IP : 216.73.216.144
Web Server : Apache
System : Linux webd003.cluster120.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 : maitricfuz ( 93378)
PHP Version : 8.4.10
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/maitricfuz/www/maitric/libraries/vendor/joomla/console/src/Event/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/maitricfuz/www/maitric/libraries/vendor/joomla/console/src/Event/ConsoleEvent.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\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;
    }
}

Anon7 - 2022
AnonSec Team