<?php
namespace Elements\Bundle\CDMUserManagerBundle;
use Pimcore\Extension\Bundle\AbstractPimcoreBundle;
use Pimcore\Extension\Bundle\PimcoreBundleInterface;
use Pimcore\Extension\Bundle\Traits\PackageVersionTrait;
use Elements\Bundle\CDMUserManagerBundle\Tools\Installer;
class ElementsCDMUserManagerBundle extends AbstractPimcoreBundle implements PimcoreBundleInterface
{
use PackageVersionTrait;
public function getDescription()
{
return 'Implements Login/Registration functionality for CMF as well as Profilemanagment and Segmentmanagment frontend';
}
// getVersion() will use this name to read the version from
// PackageVersions and return a normalized value
protected function getComposerPackageName(): string
{
return 'elements/cdm-user-manager-bundle';
}
public function getInstaller()
{
return $this->container->get(Installer::class);
}
}