vendor/elements/recurring-dates-type/src/RecurringDatesTypeBundle.php line 21

Open in your IDE?
  1. <?php
  2. /**
  3.  * Pimcore
  4.  *
  5.  * This source file is available under two different licenses:
  6.  * - GNU General Public License version 3 (GPLv3)
  7.  * - Pimcore Enterprise License (PEL)
  8.  * Full copyright and license information is available in
  9.  * LICENSE.md which is distributed with this source code.
  10.  *
  11.  *  @copyright  Copyright (c) Pimcore GmbH (http://www.pimcore.org)
  12.  *  @license    http://www.pimcore.org/license     GPLv3 and PEL
  13.  */
  14. namespace Elements\Bundle\RecurringDatesTypeBundle;
  15. use Pimcore\Extension\Bundle\AbstractPimcoreBundle;
  16. use Pimcore\Extension\Bundle\Traits\PackageVersionTrait;
  17. class RecurringDatesTypeBundle extends AbstractPimcoreBundle
  18. {
  19.     use PackageVersionTrait;
  20.     protected function getComposerPackageName(): string
  21.     {
  22.         // getVersion() will use this name to read the version from
  23.         // PackageVersions and return a normalized value
  24.         return 'elements/recurring-dates-type';
  25.     }
  26.     public function getJsPaths()
  27.     {
  28.         return [
  29.             '/bundles/recurringdatestype/js/pimcore/startup.js',
  30.             '/bundles/recurringdatestype/js/pimcore/classdefinition/data/recurringDates.js',
  31.             '/bundles/recurringdatestype/js/pimcore/classdefinition/tags/recurringDates.js'
  32.         ];
  33.     }
  34.     public function getCssPaths()
  35.     {
  36.         return [
  37.             '/bundles/recurringdatestype/css/admin.css'
  38.         ];
  39.     }
  40.     public function getInstaller()
  41.     {
  42.         return $this->container->get(Installer::class);
  43.     }
  44. }