- md5
- 6640cd343c9d40d189f1a159d057ed54
- sha1
- 5dcd3a1feb98bd08af8cec57bdee4941fe45cc55
- sha256
- b8bb98641dee66834f1e739ee0e769eaac1e80050e938dbf3f3843b4a85e6b56
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
<?php
/**
* Joomla! Content Management System
*
* @copyright (C) 2023 Open Source Matters, Inc. <https://www.joomla.org>
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
namespace Joomla\CMS\Event\User;
// phpcs:disable PSR1.Files.SideEffects
\defined('_JEXEC') or die;
// phpcs:enable PSR1.Files.SideEffects
/**
* Base class for User logout event
*
* @since 5.0.0
*/
abstract class AbstractLogoutEvent extends UserEvent
{
/**
* The argument names, in order expected by legacy plugins.
*
* @var array
*
* @since 5.0.0
* @deprecated 5.0 will be removed in 6.0
*/
protected $legacyArgumentsOrder = ['subject', 'options'];
/**
* Setter for the subject argument.
*
* @param array $value The value to set
*
* @return array
*
* @since 5.0.0
*/
protected function onSetSubject(array $value): array
{
return $value;
}
/**
* Setter for the options argument.
*
* @param array $value The value to set
*
* @return array
*
* @since 5.0.0
*/
protected function onSetOptions(array $value): array
{
return $value;
}
/**
* Getter for the parameters.
*
* @return array
*
* @since 5.0.0
*/
public function getParameters(): array
{
return $this->arguments['subject'];
}
/**
* Getter for the options.
*
* @return array
*
* @since 5.0.0
*/
public function getOptions(): array
{
return $this->arguments['options'] ?? [];
}
}
The same content is in 37 releases, Joomla 5.0.0-beta3 to 5.2.0-beta2. See them all, or every version of this file.