_JEXEC & copyright

This commit is contained in:
Artem Vasilev 2024-03-09 16:52:07 +03:00
parent 373de2234c
commit 0cce4012be

View File

@ -1,4 +1,11 @@
<?php <?php
/**
* @package Joomla.Administrator
* @subpackage com_oauthserver
*
* @copyright (c) 2024. Webmasterskaya. <https://webmasterskaya.xyz>
* @license MIT; see LICENSE.txt
**/
namespace Webmasterskaya\Component\OauthServer\Administrator\Extension; namespace Webmasterskaya\Component\OauthServer\Administrator\Extension;
@ -12,7 +19,7 @@ use Joomla\CMS\HTML\HTMLRegistryAwareTrait;
use Psr\Container\ContainerInterface; use Psr\Container\ContainerInterface;
use Webmasterskaya\Component\OauthServer\Administrator\Helper\ComponentHelper; use Webmasterskaya\Component\OauthServer\Administrator\Helper\ComponentHelper;
\defined('JPATH_PLATFORM') or die; \defined('_JEXEC') or die;
class Component extends MVCComponent implements class Component extends MVCComponent implements
BootableExtensionInterface, AssociationServiceInterface, RouterServiceInterface BootableExtensionInterface, AssociationServiceInterface, RouterServiceInterface
@ -26,13 +33,13 @@ class Component extends MVCComponent implements
* registering new class loaders, etc. * registering new class loaders, etc.
* *
* *
* @param \Psr\Container\ContainerInterface $container The container * @param \Psr\Container\ContainerInterface $container The container
* *
* @throws \Exception * @throws \Exception
* @since 1.0.0 * @since version
*/ */
public function boot(ContainerInterface $container): void public function boot(ContainerInterface $container): void
{ {
ComponentHelper::registerComponentDependencies(); ComponentHelper::registerComponentDependencies();
} }
} }