vendor/elements/json-ld-reloaded-bundle/src/ElementsJsonLdReloadedBundle.php line 7

Open in your IDE?
  1. <?php
  2. namespace Elements\Bundle\JsonLdReloadedBundle;
  3. use Pimcore\Extension\Bundle\AbstractPimcoreBundle;
  4. class ElementsJsonLdReloadedBundle extends AbstractPimcoreBundle
  5. {
  6.     public function getInstaller()
  7.     {
  8.         return $this->container->get(Installer::class);
  9.     }
  10.     public function getVersion()
  11.     {
  12.         $version '1.0';
  13.         if (class_exists('\\Composer\\InstalledVersions')) {
  14.             $version \Composer\InstalledVersions::getVersion('elements/json-ld-reloaded-bundle');
  15.         } else {
  16.             $version \PackageVersions\Versions::getVersion('elements/json-ld-reloaded-bundle');
  17.         }
  18.         return $version;
  19.     }
  20.     public function getDescription()
  21.     {
  22.         return 'Provides a Backend Tool to create JsonLd Templates For Dokuments, Assets and DataObjects';
  23.     }
  24.     public function getJsPaths()
  25.     {
  26.         return [
  27.             '/bundles/elementsjsonldreloaded/js/pimcore/startup.js'
  28.         ];
  29.     }
  30.     public function getCssPaths()
  31.     {
  32.         return [
  33.             '/bundles/elementsjsonldreloaded/pimcore.css'
  34.         ];
  35.     }
  36. }