Extension.php 376 B

12345678910111213141516171819202122
  1. <?php
  2. declare(strict_types=1);
  3. namespace SixShop\Payment;
  4. use SixShop\Core\ExtensionAbstract;
  5. use SixShop\Payment\Hook\OrderHook;
  6. class Extension extends ExtensionAbstract
  7. {
  8. public function getHooks(): array
  9. {
  10. return [
  11. OrderHook::class
  12. ];
  13. }
  14. protected function getBaseDir(): string
  15. {
  16. return dirname(__DIR__);
  17. }
  18. }