custom/plugins/whitelist/src/CityWhitelist.php line 14

Open in your IDE?
  1. <?php declare(strict_types=1);
  2. namespace CityWhitelist;
  3. use Shopware\Core\Framework\Plugin;
  4. use Shopware\Storefront\Framework\ThemeInterface;
  5. use Carbon\Carbon;
  6. // expect the vendor folder on Shopware store releases
  7. if (file_exists(dirname(__DIR__) . '/vendor/autoload.php')) {
  8.   require_once dirname(__DIR__) . '/vendor/autoload.php';
  9. }
  10. class CityWhitelist extends Plugin
  11. {
  12.   public function executeComposerCommands(): bool
  13.   {
  14.     return true;
  15.   }
  16. }