bundles/PrintBundle/PrintBundle.php line 8

Open in your IDE?
  1. <?php
  2. namespace PrintBundle;
  3. use ActiveWireframeBundle\Service\Installer;
  4. use Pimcore\Extension\Bundle\AbstractPimcoreBundle;
  5. class PrintBundle extends AbstractPimcoreBundle
  6. {
  7.     const COMPOSER_PACKAGE_NAME "activepublishing/bundle-print";
  8.     const BUNDLE_ID              "PrintBundle";
  9.     const BUNDLE_NAME            "PrintBundle";
  10.     const BUNDLE_DESCRIPTION     "print Bundle by Active Publishing©";
  11.     const BUNDLE_VERSION         "1.0.0";
  12.     const BUNDLE_REVISION        1;
  13.     const PIMCORE_MIN_VERSION    "10.0.0";
  14.     public function getJsPaths() : array
  15.     {
  16.         return [
  17.             '/bundles/print/js/pimcore/startup.js'
  18.         ];
  19.     }
  20.     /**
  21.      * @return string
  22.      */
  23.     protected function getComposerPackageName() : string
  24.     {
  25.         return self::COMPOSER_PACKAGE_NAME;
  26.     }
  27.     /**
  28.      * @return string
  29.      */
  30.     public function getNiceName() : string
  31.     {
  32.         return self::BUNDLE_NAME;
  33.     }
  34.     /**
  35.      * @return string
  36.      */
  37.     public function getDescription() : string
  38.     {
  39.         return self::BUNDLE_DESCRIPTION;
  40.     }
  41.     /**
  42.      * @return string
  43.      */
  44.     public function getVersion() : string
  45.     {
  46.         return self::BUNDLE_VERSION;
  47.     }
  48. }