CoreFiles by mySites.guru
GetMethod.php46 lines, 1,167 bytes, from Joomla_4.3.2-Stable-Full_Package.zip
Raw History Compare with 4.3.1
md5
040e46458a345b3324c3fe60e396fb49
sha1
ecd4aaf4b299e252aae0e411229b9d87fca680e8
sha256
10a75e08c05b77411fbf36187cad58b29b40235a98ff2dd8d79805134859cbfd
<?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('JPATH_PLATFORM') 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 43 releases, Joomla 4.3.2-rc1 to 4.4.14. See them all, or every version of this file.