|
|
@@ -3,6 +3,7 @@ declare(strict_types=1);
|
|
|
|
|
|
namespace SixShop\Balpay;
|
|
|
|
|
|
+use SixShop\Balpay\Hook\BalpayHook;
|
|
|
use SixShop\Core\ExtensionAbstract;
|
|
|
use SixShop\Payment\Contracts\PaymentExtensionInterface;
|
|
|
use SixShop\Payment\Contracts\PaymentProviderInterface;
|
|
|
@@ -19,4 +20,11 @@ class Extension extends ExtensionAbstract implements PaymentExtensionInterface
|
|
|
{
|
|
|
return dirname(__DIR__);
|
|
|
}
|
|
|
+
|
|
|
+ public function getHooks(): array
|
|
|
+ {
|
|
|
+ return [
|
|
|
+ BalpayHook::class
|
|
|
+ ];
|
|
|
+ }
|
|
|
}
|