move zend extension check into config

This commit is contained in:
DubbleClick
2025-05-25 09:37:15 +07:00
parent ed35b65390
commit 4ce7374ac9
4 changed files with 5 additions and 30 deletions

View File

@@ -51,9 +51,4 @@ class opcache extends Extension
{
return 'Zend Opcache';
}
protected function isZendExtension(): bool
{
return true;
}
}

View File

@@ -1,17 +0,0 @@
<?php
declare(strict_types=1);
namespace SPC\builder\extension;
use SPC\builder\Extension;
use SPC\util\CustomExt;
#[CustomExt('xdebug')]
class xdebug extends Extension
{
protected function isZendExtension(): bool
{
return true;
}
}