vendor/vdevs/wpo-tools-bundle/src/WpoToolsBundle.php line 8

Open in your IDE?
  1. <?php
  2. namespace Vdevs\Bundle\WpoTools;
  3. use Pimcore\Extension\Bundle\AbstractPimcoreBundle;
  4. use Pimcore\Extension\Bundle\Installer;
  5. class WpoToolsBundle extends AbstractPimcoreBundle
  6. {
  7.     public function getCssPaths(): array
  8.     {
  9.         return [
  10.             '/bundles/wpotools/css/pimcore/startup.css'
  11.         ];
  12.     }
  13.     public function getJsPaths(): array
  14.     {
  15.         return [
  16.             '/bundles/wpotools/js/pimcore/startup.js'
  17.         ];
  18.     }
  19.     public function getInstaller(): ?Installer\InstallerInterface
  20.     {
  21.         return $this->container->get(\Vdevs\Bundle\WpoTools\Installer\Installer::class);
  22.     }
  23.     public function getVersion(): string
  24.     {
  25.         return \Composer\InstalledVersions::getVersion('vdevs/wpo-tools-bundle');
  26.     }
  27. }