CoreFiles by mySites.guru
BeforeExecuteEvent.php33 lines, 723 bytes, from Joomla_4.0.0-alpha2-Alpha-Full_Package.zip
Raw History Compare with 3.10.0-alpha9
md5
0129cf4252e51cd230d7e8a0b4b25faf
sha1
dd368f1f7f7569043b0f496cbd57b7cb1e4fe820
sha256
34359650e8c3cb16a9052cb35619a553d5ed2338d3c49b599be2f177cd5b361d
<?php
/**
 * Joomla! Content Management System
 *
 * @copyright  Copyright (C) 2005 - 2016 Open Source Matters, Inc. All rights reserved.
 * @license    GNU General Public License version 2 or later; see LICENSE
 */

namespace Joomla\CMS\Event;

use Joomla\Application\AbstractApplication;

defined('JPATH_PLATFORM') or die;

/**
 * Event class for representing the application's `onBeforeExecute` event
 *
 * @since  __DEPLOY_VERSION__
 */
class BeforeExecuteEvent extends AbstractImmutableEvent
{
	/**
	 * Get the event's application object
	 *
	 * @return  AbstractApplication
	 *
	 * @since  __DEPLOY_VERSION__
	 */
	public function getApplication(): AbstractApplication
	{
		return $this->getArgument('subject');
	}
}

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