CoreFiles by mySites.guru
InstallerComponent.php49 lines, 1,402 bytes, from Joomla_4.0.0-beta5-Beta-Full_Package.zip
Raw History Compare with 4.0.0-beta4
md5
dfdec69b1930cc5ea0e44f274fb7f41c
sha1
9d2b375d19c1d20c69ba37901975b8717b86e38b
sha256
4aef93a737f2db148f18ae836aeaa7397ec6c0543542e49869fbd54608c76c94
<?php
/**
 * @package     Joomla.Administrator
 * @subpackage  com_installer
 *
 * @copyright   Copyright (C) 2005 - 2020 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

namespace Joomla\Component\Installer\Administrator\Extension;

defined('JPATH_PLATFORM') or die;

use Joomla\CMS\Extension\BootableExtensionInterface;
use Joomla\CMS\Extension\MVCComponent;
use Joomla\CMS\HTML\HTMLRegistryAwareTrait;
use Joomla\Component\Installer\Administrator\Service\HTML\Manage;
use Joomla\Component\Installer\Administrator\Service\HTML\Updatesites;
use Psr\Container\ContainerInterface;

/**
 * Component class for com_installer
 *
 * @since  4.0.0
 */
class InstallerComponent extends MVCComponent implements
	BootableExtensionInterface
{
	use HTMLRegistryAwareTrait;

	/**
	 * Booting the extension. This is the function to set up the environment of the extension like
	 * registering new class loaders, etc.
	 *
	 * If required, some initial set up can be done from services of the container, eg.
	 * registering HTML services.
	 *
	 * @param   ContainerInterface  $container  The container
	 *
	 * @return  void
	 *
	 * @since   4.0.0
	 */
	public function boot(ContainerInterface $container)
	{
		$this->getRegistry()->register('manage', new Manage);
		$this->getRegistry()->register('updatesites', new Updatesites);
	}
}

The same content is in 5 releases, Joomla 4.0.0-beta to 4.0.0-beta5. See them all, or every version of this file.