CoreFiles by mySites.guru
AfterCategoryChangeStateEvent.php36 lines, 810 bytes, from Joomla_5.3.1-Stable-Full_Package.zip
Raw History Compare with 5.3.0
md5
f9c8f4d577033bfd204af2d2b6e4a714
sha1
8bf1716955c0ba906f6815231c6c50a92c6b7794
sha256
62d0f4fb8f23b4aac28fad6524e013cacbaee59cb01bca25d56e5a5821b3b336
<?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\Model;

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

/**
 * Class for Model event.
 * Example:
 *  new AfterCategoryChangeStateEvent('onEventName', ['context' => $extension, 'subject' => $primaryKeys, 'value' => $newState]);
 *
 * @since  5.0.0
 */
class AfterCategoryChangeStateEvent extends ChangeStateEvent
{
    /**
     * Getter for the extension.
     *
     * @return  string
     *
     * @since  5.0.0
     */
    public function getExtension(): string
    {
        return $this->getContext();
    }
}

The same content is in 152 releases, Joomla 5.0.0-alpha4 to 6.2.1-rc1. See them all, or every version of this file.