primo commit
This commit is contained in:
		| @ -0,0 +1,49 @@ | ||||
| <?php | ||||
|  | ||||
| /** | ||||
|  * @package     Joomla.Administrator | ||||
|  * @subpackage  com_scheduler | ||||
|  * | ||||
|  * @copyright   (C) 2021 Open Source Matters, Inc. <https://www.joomla.org> | ||||
|  * @license     GNU General Public License version 2 or later; see LICENSE.txt | ||||
|  */ | ||||
|  | ||||
| namespace Joomla\Component\Scheduler\Administrator\Extension; | ||||
|  | ||||
| use Joomla\CMS\Extension\BootableExtensionInterface; | ||||
| use Joomla\CMS\Extension\MVCComponent; | ||||
| use Joomla\CMS\HTML\HTMLRegistryAwareTrait; | ||||
| use Psr\Container\ContainerInterface; | ||||
|  | ||||
| // phpcs:disable PSR1.Files.SideEffects | ||||
| \defined('_JEXEC') or die; | ||||
| // phpcs:enable PSR1.Files.SideEffects | ||||
|  | ||||
| /** | ||||
|  * Component class for com_scheduler. | ||||
|  * | ||||
|  * @since  4.1.0 | ||||
|  * @todo   Set up logger(s) here. | ||||
|  */ | ||||
| class SchedulerComponent 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.1.0 | ||||
|      */ | ||||
|     public function boot(ContainerInterface $container): void | ||||
|     { | ||||
|         // Pass | ||||
|     } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user