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