seata / fescar-php

Php Implementation For Seata
Apache License 2.0
82 stars 20 forks source link

WIP: added pdo proxy #30

Open PandaLIU-1111 opened 1 year ago

PandaLIU-1111 commented 1 year ago

使用 pdo proxy 需要在 hyperf 项目内 /config/autoload/annotations.php 增加以下内容

return [
    'scan' => [
        'class_map' => [
            Connector::class => BASE_PATH . '/vendor/seata/seata/src/Rm/DataSource/ClassMap/Connector.php',
        ],
    ],
];
CLAassistant commented 1 year ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.