قرینه از
https://github.com/matomo-org/matomo.git
synced 2025-08-22 23:17:46 +00:00

* Fix PHPStan issues in plugins/SitesManager/SiteContentDetection * update baseline * remove unneeded access check
28 خطوط
714 B
PHP
28 خطوط
714 B
PHP
<?php
|
|
|
|
/**
|
|
* Matomo - free/libre analytics platform
|
|
*
|
|
* @link https://matomo.org
|
|
* @license https://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
|
|
*/
|
|
|
|
namespace Piwik\Plugins\SitesManager\SiteContentDetection;
|
|
|
|
abstract class ConsentManagerDetectionAbstract extends SiteContentDetectionAbstract
|
|
{
|
|
final public static function getContentType(): int
|
|
{
|
|
return self::TYPE_CONSENT_MANAGER;
|
|
}
|
|
|
|
/**
|
|
* Returns if the consent manager was already connected to Matomo
|
|
*
|
|
* @param string|null $data
|
|
* @param array<string,string>|null $headers
|
|
* @return bool
|
|
*/
|
|
abstract public function checkIsConnected(?string $data = null, ?array $headers = null): bool;
|
|
}
|