vendor/setono/sylius-redirect-plugin/src/SetonoSyliusRedirectPlugin.php line 11

Open in your IDE?
  1. <?php
  2. declare(strict_types=1);
  3. namespace Setono\SyliusRedirectPlugin;
  4. use Sylius\Bundle\CoreBundle\Application\SyliusPluginTrait;
  5. use Sylius\Bundle\ResourceBundle\AbstractResourceBundle;
  6. use Sylius\Bundle\ResourceBundle\SyliusResourceBundle;
  7. final class SetonoSyliusRedirectPlugin extends AbstractResourceBundle
  8. {
  9.     use SyliusPluginTrait;
  10.     /**
  11.      * @inheritdoc
  12.      */
  13.     public function getSupportedDrivers(): array
  14.     {
  15.         return [
  16.             SyliusResourceBundle::DRIVER_DOCTRINE_ORM,
  17.         ];
  18.     }
  19.     /**
  20.      * @inheritdoc
  21.      */
  22.     protected function getModelNamespace(): string
  23.     {
  24.         return 'Setono\SyliusRedirectPlugin\Model';
  25.     }
  26. }