芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/.trash/libraries.8/src/Event/BeforeExtensionBootEvent.php
* @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 BeforeExtensionBootEvent 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']; } }