<?php
/**
* Created by Elements.at New Media Solutions GmbH
*
*/
namespace Elements\Bundle\TicketShopFrameworkBundle;
use Elements\Bundle\TicketShopFrameworkBundle\Tools\Installer;
use Pimcore\Extension\Bundle\AbstractPimcoreBundle;
use Pimcore\Extension\Bundle\PimcoreBundleInterface;
use Pimcore\Extension\Bundle\Traits\PackageVersionTrait;
class ElementsTicketShopFrameworkBundle extends AbstractPimcoreBundle implements PimcoreBundleInterface
{
use PackageVersionTrait;
const BUNDLE_NAME = 'ElementsTicketShopFrameworkBundle';
public function getInstaller()
{
return $this->container->get(Installer::class);
}
public function getCssPaths()
{
return [
'/bundles/elementsticketshopframework/css/pricing.css',
];
}
public function getJsPaths()
{
return [
'/bundles/elementsticketshopframework/js/pricing/conditions.js',
'/bundles/elementsticketshopframework/js/pricing/actions.js',
];
}
protected function getComposerPackageName(): string
{
// getVersion() will use this name to read the version from
// PackageVersions and return a normalized value
return 'elements/ticket-shop-framework-bundle';
}
}