File manager - Edit - /home/ferretapmx/public_html/libraries/src/Event/Extension/BeforeJoomlaAutoupdateEvent.php
Back
<?php /** * Joomla! Content Management System * * @copyright (C) 2025 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ namespace Joomla\CMS\Event\Extension; // phpcs:disable PSR1.Files.SideEffects \defined('_JEXEC') or die; // phpcs:enable PSR1.Files.SideEffects /** * Class for Joomla Auto Update events * * @since 5.4.0 */ class BeforeJoomlaAutoupdateEvent extends AbstractJoomlaUpdateEvent { /** * Constructor. * * @param string $name The event name. * @param array $arguments The event arguments. * * @throws \BadMethodCallException * * @since 5.4.0 */ public function __construct($name, array $arguments = []) { $arguments['stoppedUpdate'] = false; parent::__construct($name, $arguments); } /** * Set stop parameter to true * * @return void * * @since 5.4.0 */ public function stopUpdate() { $this->arguments['stoppedUpdate'] = true; $this->stopPropagation(); } }
| ver. 1.4 |
Github
|
.
| PHP 8.2.32 | Generation time: 0.06 |
proxy
|
phpinfo
|
Settings