CoreFiles by mySites.guru
GetMethod.php42 lines, 1,048 bytes, from Joomla_4.2.0-beta3-Beta-Full_Package.zip
Raw History Compare with 4.2.0-beta2
md5
99331ac5b664b2218c1ba13dde262757
sha1
68e297cb102f920018f9c0cf639c99e9a0980e17
sha256
f5dfc13747a9a5b716a3fa1e5eac19681a64015a62e9d114139cc20d8eca2737
<?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;

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 5 releases, Joomla 4.2.0-beta3 to 4.2.1-rc2. See them all, or every version of this file.