|
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 : /home/www/p141464/html/KMU-CSR-PLANER/wp-content/plugins/matomo/app/ |
Upload File : |
<?php
namespace Matomo\Dependencies\DI;
/**
* This file aims to circumvent problems when updating to Matomo 4.
* Matomo 4 includes a newer version of PHP-DI, which does not include \DI\object() any longer
* To not run into any problems with plugins still using that we forward this method to \DI\autowire
*/
if (!function_exists("Matomo\\Dependencies\\DI\\object")) {
function object(...$params)
{
return \Piwik\DI::autowire(...$params);
}
}
if (!function_exists("Matomo\\Dependencies\\DI\\link")) {
function link(...$params)
{
return \Piwik\DI::get(...$params);
}
}