CoreFiles by mySites.guru
GetMethod.php43 lines, 1,020 bytes, from Joomla_4.2.0-beta1-Beta-Full_Package.zip
Raw History Compare with 4.1.0-beta3
md5
adc21bf018bf09ef712e7b6048f7354d
sha1
b8706d4ae0f2c005c9ea5961d0e5eb7df0c8d62a
sha256
aca726ed0d85cfecb76583fc7cd0534df9e0b5cbf5fe41c199ac0f3cbafbe74d
<?php
/**
 * Joomla! Content Management System
 *
 * @copyright  (C) 2022 Open Source Matters, Inc. <https://www.joomla.org>
 * @license    GNU General Public License version 2 or later; see LICENSE
 */

namespace Joomla\CMS\Event\MultiFactor;

\defined('JPATH_PLATFORM') or die;

use Joomla\CMS\Event\AbstractImmutableEvent;
use Joomla\CMS\Event\Result\ResultAware;
use Joomla\CMS\Event\Result\ResultAwareInterface;
use Joomla\CMS\Event\Result\ResultTypeObjectAware;
use Joomla\Component\Users\Administrator\DataShape\MethodDescriptor;

/**
 * Concrete Event class for the onUserMultifactorGetMethod event
 *
 * @since 4.2.0
 */
class GetMethod extends AbstractImmutableEvent implements ResultAwareInterface
{
	use ResultAware;
	use ResultTypeObjectAware;

	/**
	 * Public constructor
	 *
	 * @since 4.2.0
	 */
	public function __construct()
	{
		parent::__construct('onUserMultifactorGetMethod', []);

		$this->resultIsNullable        = true;
		$this->resultAcceptableClasses = [
			MethodDescriptor::class,
		];
	}
}

The same content is in 2 releases, Joomla 4.2.0-beta1 to 4.2.0-beta2. See them all, or every version of this file.