CoreFiles by mySites.guru
GetMethod.php46 lines, 1,159 bytes, from Joomla_6.2.0-Stable-Full_Package.zip
Raw History Compare with 6.1.4
md5
17921fd56670f8ee20037f2b53794c75
sha1
0764af181db7905f977acedefb5a642014fa7b2b
sha256
19a746fa217585f34fc7b158b203b66ed3ef140ed44c540fc29c627d2b5bfd0e
<?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.txt
 */

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;

// phpcs:disable PSR1.Files.SideEffects
\defined('_JEXEC') or die;
// phpcs:enable PSR1.Files.SideEffects

/**
 * 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 154 releases, Joomla 5.0.0-alpha1 to 6.2.0. See them all, or every version of this file.