src/EventListener/RunPostRequestActionsListener.php line 14

Open in your IDE?
  1. <?php
  2. /**
  3.  * Copyright (c) 2011-present Qualiteam software Ltd. All rights reserved.
  4.  * See https://www.x-cart.com/license-agreement.html for license details.
  5.  */
  6. namespace XCart\EventListener;
  7. use Symfony\Component\HttpKernel\Event\TerminateEvent;
  8. final class RunPostRequestActionsListener
  9. {
  10.     public function onKernelTerminate(TerminateEvent $event): void
  11.     {
  12.         $xc \XLite::getInstance();
  13.         $xc->runPostRequestActions();
  14.     }
  15. }