CoreFiles by mySites.guru
BaseInstallationModel.php43 lines, 1,137 bytes, from Joomla_4.2.7-rc1-Release_Candidate-Full_Package.zip
Raw History Compare with 4.2.6-rc1
md5
fbbac4307079fc87005161c74211c374
sha1
b4c46300597a265691305763e48a065337056051
sha256
c8687e39805adb4e2f574da395c645b0bb73407968c9fe67ed00c07a2a72b58d
<?php

/**
 * @package     Joomla.Installation
 * @subpackage  Model
 *
 * @copyright   (C) 2017 Open Source Matters, Inc. <https://www.joomla.org>
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

namespace Joomla\CMS\Installation\Model;

use Joomla\CMS\MVC\Factory\MVCFactoryInterface;
use Joomla\CMS\MVC\Model\BaseDatabaseModel;

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

/**
 * Base Model for the installation model classes
 *
 * @since  4.0.0
 */
class BaseInstallationModel extends BaseDatabaseModel
{
    /**
     * Constructor
     *
     * @param   array                     $config   An array of configuration options (name, state, dbo, table_path, ignore_request).
     * @param   MVCFactoryInterface|null  $factory  The factory.
     *
     * @since   3.0
     * @throws  \Exception
     */
    public function __construct($config = [], MVCFactoryInterface $factory = null)
    {
        // @TODO remove me when the base model is db free
        $config['dbo'] = null;

        parent::__construct($config, $factory);
    }
}

The same content is in 100 releases, Joomla 4.2.7-rc1 to 5.2.0-alpha3. See them all, or every version of this file.