bundles/Factory/PaymentBundle/FactoryPaymentBundle.php line 10

Open in your IDE?
  1. <?php
  2. namespace Factory\PaymentBundle;
  3. use Factory\PaymentBundle\DependencyInjection\Compiler\PaymentProviderPass;
  4. use Pimcore\Extension\Bundle\AbstractPimcoreBundle;
  5. use Symfony\Component\DependencyInjection\ContainerBuilder;
  6. class FactoryPaymentBundle extends AbstractPimcoreBundle
  7. {
  8.     /** @inheritDoc */
  9.     public function build(ContainerBuilder $container)
  10.     {
  11.         parent::build($container);
  12.         $container->addCompilerPass(new PaymentProviderPass());
  13.     }
  14.     public function getJsPaths()
  15.     {
  16.         return [
  17.             '/bundles/factorypayment/js/pimcore/startup.js'
  18.         ];
  19.     }
  20. }