| 1234567891011121314151617181920212223242526 |
- <?php
- declare(strict_types=1);
- namespace SixShop\Payment;
- use SixShop\Core\ExtensionAbstract;
- use SixShop\Payment\Hook\ConfigHook;
- use SixShop\Payment\Hook\OrderHook;
- class Extension extends ExtensionAbstract
- {
- public const string EXTENSION_ID = 'payment';
- public function getHooks(): array
- {
- return [
- ConfigHook::class,
- OrderHook::class,
- ];
- }
- protected function getBaseDir(): string
- {
- return dirname(__DIR__);
- }
- }
|