custom/static-plugins/NdSRS/src/NdSrs.php line 19

Open in your IDE?
  1. <?php declare(strict_types=1);
  2. namespace Nd\Srs;
  3. use Doctrine\DBAL\Exception\UniqueConstraintViolationException;
  4. use Shopware\Core\Checkout\Customer\CustomerEntity;
  5. use Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryInterface;
  6. use Shopware\Core\Framework\DataAbstractionLayer\Search\Criteria;
  7. use Shopware\Core\Framework\Plugin;
  8. use Shopware\Core\Framework\Plugin\Context\InstallContext;
  9. use Shopware\Core\Framework\Uuid\Uuid;
  10. use Shopware\Core\System\SalesChannel\SalesChannelEntity;
  11. if (file_exists(dirname(__DIR__) . '/vendor/autoload.php')) {
  12.     require_once dirname(__DIR__) . '/vendor/autoload.php';
  13. }
  14. class NdSrs extends Plugin
  15. {
  16.     public function getTemplatePriority(): int
  17.     {
  18.         return 200;
  19.     }
  20. }