CoreFiles by mySites.guru
AfterExtensionBootEvent.php58 lines, 1,055 bytes, from Joomla_4.0.0-alpha6-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha5
md5
bdfc1f2cd7b07c57c759c878730a6cc1
sha1
0a48bad8feb14fdc3f87fa5c966e7f5d21065b8e
sha256
0baca50cc52a08722efd1b852611860a9d0ddf3412cbab7b02b7c965ff8578ce
<?php
/**
 * Joomla! Content Management System
 *
 * @copyright  Copyright (C) 2005 - 2018 Open Source Matters, Inc. All rights reserved.
 * @license    GNU General Public License version 2 or later; see LICENSE
 */

namespace Joomla\CMS\Event;

use Joomla\DI\Container;

defined('JPATH_PLATFORM') or die;

/**
 * Event class for representing the extensions's `onBeforeExtensionBoot` event
 *
 * @since  4.0.0
 */
class AfterExtensionBootEvent extends AbstractImmutableEvent
{
	/**
	 * Get the event's extension type. Can be:
	 * - component
	 *
	 * @return  string
	 *
	 * @since  4.0.0
	 */
	public function getExtensionType(): string
	{
		return $this->getArgument('type');
	}

	/**
	 * Get the event's extension name.
	 *
	 * @return  string
	 *
	 * @since  4.0.0
	 */
	public function getExtensionName(): string
	{
		return $this->arguments['extensionName'];
	}

	/**
	 * Get the event's container object
	 *
	 * @return  Container
	 *
	 * @since  4.0.0
	 */
	public function getContainer(): Container
	{
		return $this->arguments['container'];
	}
}

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