CoreFiles by mySites.guru
DebugIndexer.php44 lines, 910 bytes, from Joomla_5.0.2-Stable-Full_Package.zip
Raw History Compare with 5.0.1
md5
86ac48c4f1a389b5114b60390485e03b
sha1
94c7ebf991a14964e937f675afa241ac25b198f8
sha256
3269b406dc4f20370516703745cff73030e4349fc39d75340e7c10f8fb6c5230
<?php

/**
 * @package     Joomla.Administrator
 * @subpackage  com_finder
 *
 * @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\Component\Finder\Administrator\Indexer;

/**
 * Debugging indexer class for the Finder indexer package.
 *
 * @since  5.0.0
 * @internal
 */
class DebugIndexer extends Indexer
{
    /**
     * The result object from the last call to self::index()
     *
     * @var Result
     *
     * @since  5.0.0
     */
    public static $item;

    /**
     * Stub for index() in indexer class
     *
     * @param   Result  $item    Result object to index
     * @param   string  $format  Format to index
     *
     * @return  void
     *
     * @since   5.0.0
     */
    public function index($item, $format = 'html')
    {
        self::$item = $item;
    }
}

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