15 Star 76 Fork 22

Gitee 极速下载 / Matomo

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/matomo-org/matomo
克隆/下载
DIObject.php 578 Bytes
一键复制 编辑 原始数据 按行查看 历史
Stefan Giehl 提交于 2020-09-03 03:51 . Updates php-di to 6.2.1 (#16311)
<?php
namespace 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("\DI\object")) {
function object()
{
return call_user_func_array("\DI\autowire", func_get_args());
}
}
if (!function_exists("\DI\link")) {
function link()
{
return call_user_func_array("\DI\get", func_get_args());
}
}
1
https://gitee.com/mirrors/Matomo.git
git@gitee.com:mirrors/Matomo.git
mirrors
Matomo
Matomo
4.x-dev

搜索帮助