CoreFiles by mySites.guru
ItemModelInterface.php34 lines, 676 bytes, from Joomla_4.2.7-Stable-Full_Package.zip
Raw History Compare with 4.2.6
md5
5919971eb45d8bfe1473a476a0bdf869
sha1
68aef7153920de4953dcb5e31850af726446a261
sha256
94023cc9c7636e8d67cbeb1a6bd1578603c53fe05b948d03e9f9ce57bd1b5c6b
<?php

/**
 * Joomla! Content Management System
 *
 * @copyright  (C) 2019 Open Source Matters, Inc. <https://www.joomla.org>
 * @license    GNU General Public License version 2 or later; see LICENSE.txt
 */

namespace Joomla\CMS\MVC\Model;

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

/**
 * Interface for an item model.
 *
 * @since  4.0.0
 */
interface ItemModelInterface
{
    /**
     * Method to get an item.
     *
     * @param   integer  $pk  The id of the item
     *
     * @return  object
     *
     * @since 4.0.0
     * @throws \Exception
     */
    public function getItem($pk = null);
}

The same content is in 70 releases, Joomla 4.2.1 to 4.4.14. See them all, or every version of this file.