CoreFiles by mySites.guru
BeforeExecuteEvent.php36 lines, 725 bytes, from Joomla_5.0.0-alpha3-Alpha-Full_Package.zip
Raw History Compare with 5.0.0-alpha2
md5
2b55a79a2d94d655ecad2ead0538a1f9
sha1
5d160c8da66530153610a3bb62887d8b26a3044f
sha256
d41d44335b8fe17298716b18f7efcdc3703a758fc95993eaef50f9bacad2d732
<?php

/**
 * Joomla! Content Management System
 *
 * @copyright  (C) 2023 Open Source Matters, Inc. <https://www.joomla.org>
 * @license    GNU General Public License version 2 or later; see LICENSE
 */

namespace Joomla\CMS\Event\Application;

use Joomla\DI\Container;

// phpcs:disable PSR1.Files.SideEffects
\defined('_JEXEC') or die;
// phpcs:enable PSR1.Files.SideEffects

/**
 * Class for BeforeExecute event
 *
 * @since  5.0.0
 */
class BeforeExecuteEvent extends ApplicationEvent
{
    /**
     * Get the event's container object
     *
     * @return  ?Container
     *
     * @since  5.0.0
     */
    public function getContainer(): ?Container
    {
        return $this->arguments['container'] ?? null;
    }
}

No other release has this exact content. See every version of this file.