[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Summary view] [Print] [Text view]
1 <?php 2 3 /** 4 * Joomla! Content Management System 5 * 6 * @copyright (C) 2018 Open Source Matters, Inc. <https://www.joomla.org> 7 * @license GNU General Public License version 2 or later; see LICENSE 8 */ 9 10 namespace Joomla\CMS\Event; 11 12 use Joomla\DI\Container; 13 14 // phpcs:disable PSR1.Files.SideEffects 15 \defined('JPATH_PLATFORM') or die; 16 // phpcs:enable PSR1.Files.SideEffects 17 18 /** 19 * Event class for representing the extensions's `onBeforeExtensionBoot` event 20 * 21 * @since 4.0.0 22 */ 23 class BeforeExtensionBootEvent extends AbstractImmutableEvent 24 { 25 /** 26 * Get the event's extension type. Can be: 27 * - component 28 * 29 * @return string 30 * 31 * @since 4.0.0 32 */ 33 public function getExtensionType(): string 34 { 35 return $this->getArgument('type'); 36 } 37 38 /** 39 * Get the event's extension name. 40 * 41 * @return string 42 * 43 * @since 4.0.0 44 */ 45 public function getExtensionName(): string 46 { 47 return $this->arguments['extensionName']; 48 } 49 50 /** 51 * Get the event's container object 52 * 53 * @return Container 54 * 55 * @since 4.0.0 56 */ 57 public function getContainer(): Container 58 { 59 return $this->arguments['container']; 60 } 61 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |