mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 04:44:53 +08:00
fix swoole-hook
This commit is contained in:
parent
421b3830b6
commit
73035067e3
@ -11,6 +11,11 @@ use SPC\util\CustomExt;
|
|||||||
#[CustomExt('swoole-hook-mysql')]
|
#[CustomExt('swoole-hook-mysql')]
|
||||||
class swoole_hook_mysql extends Extension
|
class swoole_hook_mysql extends Extension
|
||||||
{
|
{
|
||||||
|
public function getDistName(): string
|
||||||
|
{
|
||||||
|
return 'swoole';
|
||||||
|
}
|
||||||
|
|
||||||
public function getUnixConfigureArg(): string
|
public function getUnixConfigureArg(): string
|
||||||
{
|
{
|
||||||
// pdo_mysql doesn't need to be disabled
|
// pdo_mysql doesn't need to be disabled
|
||||||
|
|||||||
@ -12,6 +12,11 @@ use SPC\util\CustomExt;
|
|||||||
#[CustomExt('swoole-hook-pgsql')]
|
#[CustomExt('swoole-hook-pgsql')]
|
||||||
class swoole_hook_pgsql extends Extension
|
class swoole_hook_pgsql extends Extension
|
||||||
{
|
{
|
||||||
|
public function getDistName(): string
|
||||||
|
{
|
||||||
|
return 'swoole';
|
||||||
|
}
|
||||||
|
|
||||||
public function getUnixConfigureArg(): string
|
public function getUnixConfigureArg(): string
|
||||||
{
|
{
|
||||||
// pdo_pgsql need to be disabled
|
// pdo_pgsql need to be disabled
|
||||||
|
|||||||
@ -12,6 +12,11 @@ use SPC\util\CustomExt;
|
|||||||
#[CustomExt('swoole-hook-sqlite')]
|
#[CustomExt('swoole-hook-sqlite')]
|
||||||
class swoole_hook_sqlite extends Extension
|
class swoole_hook_sqlite extends Extension
|
||||||
{
|
{
|
||||||
|
public function getDistName(): string
|
||||||
|
{
|
||||||
|
return 'swoole';
|
||||||
|
}
|
||||||
|
|
||||||
public function getUnixConfigureArg(): string
|
public function getUnixConfigureArg(): string
|
||||||
{
|
{
|
||||||
// pdo_pgsql need to be disabled
|
// pdo_pgsql need to be disabled
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user