<?php
namespace ES\AssetImporterBundle;
use Pimcore\Extension\Bundle\AbstractPimcoreBundle;
use Pimcore\Extension\Bundle\Installer\InstallerInterface;
use Pimcore\Extension\Bundle\Traits\PackageVersionTrait;
class AssetImporterBundle extends AbstractPimcoreBundle
{
use PackageVersionTrait;
public function getJsPaths()
{
return [
'/bundles/assetimporter/js/pimcore/startup.js'
];
}
/**
* If the bundle has an installation routine, an installer is responsible of handling installation related tasks
*
* @return InstallerInterface|null
*/
public function getInstaller()
{
return $this->container->get(Installer::class);
}
/**
* {@inheritdoc}
*/
protected function getComposerPackageName(): string
{
return 'es/asset-importer-bundle';
}
}