Skip to content

Commit

Permalink
Add static resolver
Browse files Browse the repository at this point in the history
  • Loading branch information
mattamon committed Apr 15, 2024
1 parent c5dba30 commit 51dd789
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/PimcoreStudioApiBundle.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
namespace Pimcore\Bundle\StudioApiBundle;

use Pimcore\Bundle\GenericDataIndexBundle\PimcoreGenericDataIndexBundle;
use Pimcore\Bundle\StaticResolverBundle\PimcoreStaticResolverBundle;
use Pimcore\Bundle\StudioApiBundle\DependencyInjection\CompilerPass\FilterPass;
use Pimcore\Extension\Bundle\AbstractPimcoreBundle;
use Pimcore\Extension\Bundle\Installer\InstallerInterface;
Expand Down Expand Up @@ -66,6 +67,7 @@ public function build(ContainerBuilder $container): void

public static function registerDependentBundles(BundleCollection $collection): void
{
$collection->addBundle(PimcoreGenericDataIndexBundle::class);
$collection->addBundle(new PimcoreStaticResolverBundle());
$collection->addBundle(new PimcoreGenericDataIndexBundle());
}
}

0 comments on commit 51dd789

Please sign in to comment.