vendor/elements/ticket-shop-framework-bundle/src/ElementsTicketShopFrameworkBundle.php line 15

Open in your IDE?
  1. <?php
  2. /**
  3.  * Created by Elements.at New Media Solutions GmbH
  4.  *
  5.  */
  6. namespace Elements\Bundle\TicketShopFrameworkBundle;
  7. use Elements\Bundle\TicketShopFrameworkBundle\Tools\Installer;
  8. use Pimcore\Extension\Bundle\AbstractPimcoreBundle;
  9. use Pimcore\Extension\Bundle\PimcoreBundleInterface;
  10. use Pimcore\Extension\Bundle\Traits\PackageVersionTrait;
  11. class ElementsTicketShopFrameworkBundle extends AbstractPimcoreBundle implements PimcoreBundleInterface
  12. {
  13.     use PackageVersionTrait;
  14.     const BUNDLE_NAME 'ElementsTicketShopFrameworkBundle';
  15.     public function getInstaller()
  16.     {
  17.         return $this->container->get(Installer::class);
  18.     }
  19.     public function getCssPaths()
  20.     {
  21.         return [
  22.             '/bundles/elementsticketshopframework/css/pricing.css',
  23.         ];
  24.     }
  25.     public function getJsPaths()
  26.     {
  27.         return [
  28.             '/bundles/elementsticketshopframework/js/pricing/conditions.js',
  29.             '/bundles/elementsticketshopframework/js/pricing/actions.js',
  30.         ];
  31.     }
  32.     protected function getComposerPackageName(): string
  33.     {
  34.         // getVersion() will use this name to read the version from
  35.         // PackageVersions and return a normalized value
  36.         return 'elements/ticket-shop-framework-bundle';
  37.     }
  38. }