|
Server : Apache System : Linux s1230 5.15.0-139-generic #149~20.04.1 SMP Tue Jul 14 11:21:49 UTC 2026 x86_64 User : p141464 ( 418825) PHP Version : 7.4.33.12 Disable Function : NONE Directory : /html/relaunch-kmu/wp-content/plugins/real-cookie-banner/inc/base/ |
Upload File : |
<?php
namespace DevOwl\RealCookieBanner\base;
use DevOwl\RealCookieBanner\Vendor\DevOwl\Freemium\FreemiumProvider;
use DevOwl\RealCookieBanner\Vendor\MatthiasWeb\Utils\Base;
\defined('ABSPATH') or die('No script kiddies please!');
// Avoid direct file request
/**
* To make the composer package in packages/utils work we need to
* make the constant variables be passed to the High-Order class.
*
* Put this trait in all your classes! Note also not to use the
* below methods by your plugin, instead use direct access to the constant.
* It just is for composer packages which needs to access dynamically the plugin!
* @internal
*/
trait UtilsProvider
{
use Base;
use FreemiumProvider;
/**
* Get the prefix of this plugin so composer packages can dynamically
* build other constant values on it.
*
* @return string
* @codeCoverageIgnore It only returns a string with the constant prefix
*/
public function getPluginConstantPrefix()
{
return 'RCB';
}
}