CoreFiles by mySites.guru
CurrentUserInterface.php29 lines, 602 bytes, from Joomla_4.2.0-Stable-Full_Package.zip
Raw History Compare with 4.1.5
md5
2d3febb30329721c18c59f1632a08973
sha1
07669c586c36674a97fbca1fe078604fa5a89dba
sha256
9ea6671067fbdee37774af9baacadcfa1b3077ec74c03a18ccefb33fd745ab78
<?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\User;

/**
 * Interface to be implemented by classes depending on a current user.
 *
 * @since  4.2.0
 */
interface CurrentUserInterface
{
    /**
     * Sets the current user.
     *
     * @param   User  $currentUser  The current user object
     *
     * @return  void
     *
     * @since   4.2.0
     */
    public function setCurrentUser(User $currentUser): void;
}

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.