vendor/elements/cookiebar-bundle/src/ElementsCookieBarBundle.php line 7

Open in your IDE?
  1. <?php
  2. namespace Elements\Bundle\CookieBarBundle;
  3. use Pimcore\Extension\Bundle\AbstractPimcoreBundle;
  4. class ElementsCookieBarBundle extends AbstractPimcoreBundle
  5. {
  6.     public function getVersion()
  7.     {
  8.         $version \PackageVersions\Versions::getVersion('elements/cookiebar-bundle');
  9.         return $version;
  10.     }
  11.     public function getDescription()
  12.     {
  13.         return 'Elements Cookie Bar Bundle';
  14.     }
  15.     public function getJsPaths()
  16.     {
  17.         return [
  18.             '/bundles/elementscookiebar/js/pimcore/startup.js'
  19.         ];
  20.     }
  21.     /**
  22.      * @inheritdoc
  23.      */
  24.     public function getInstaller()
  25.     {
  26.         return $this->container->get(Installer::class);
  27.     }
  28. }