<?php
namespace Elements\Bundle\IncertBundle;
use Pimcore\Extension\Bundle\AbstractPimcoreBundle;
use Pimcore\Extension\Bundle\PimcoreBundleInterface;
use Pimcore\Extension\Bundle\Traits\PackageVersionTrait;
class ElementsIncertBundle extends AbstractPimcoreBundle implements PimcoreBundleInterface
{
use PackageVersionTrait;
const PLUGIN_NAME = "Incert";
/**
* {@inheritdoc}
*/
public function getInstaller()
{
return $this->container->get(Installer::class);
}
// getVersion() will use this name to read the version from
// PackageVersions and return a normalized value
protected function getComposerPackageName(): string
{
return 'elements/incert-bundle';
}
}