CoreFiles by mySites.guru
BootableExtensionInterface.php36 lines, 885 bytes, from Joomla_4.0.0-alpha7-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha6
md5
a98c966d4aff59def7acdbfaa8321497
sha1
43fb6651e987d95e96304fa02ce1448b2dc126fc
sha256
4061d41aa4a16ccd56f3c19b0abaa3cf9ea52bd6f0a420c7bdfafd7fa056375f
<?php
/**
 * Joomla! Content Management System
 *
 * @copyright  Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved.
 * @license    GNU General Public License version 2 or later; see LICENSE.txt
 */

namespace Joomla\CMS\Extension;

defined('JPATH_PLATFORM') or die;

use Psr\Container\ContainerInterface;

/**
 * Interface which defines that an extension can be booted.
 *
 * @since  4.0.0
 */
interface BootableExtensionInterface
{
	/**
	 * 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);
}

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