CoreFiles by mySites.guru
ModelInterface.php32 lines, 638 bytes, from Joomla_4.3.1-Stable-Full_Package.zip
Raw History Compare with 4.3.0
md5
53061a97179d8a6a5965498f61fee1bf
sha1
8e95e57327be8f27fdb3836d53f27720fc49e816
sha256
5fdc287773d428c05f35df6b20228f14abfb29845b1ee87c600b033543f91a1b
<?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 a base model.
 *
 * @since  4.0.0
 */
interface ModelInterface
{
    /**
     * Method to get the model name.
     *
     * @return  string  The name of the model
     *
     * @since   4.0.0
     * @throws  \Exception
     */
    public function getName();
}

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