Skip to content

Commit

Permalink
Fix bundle path for profiler templates (#833)
Browse files Browse the repository at this point in the history
  • Loading branch information
GromNaN authored Dec 22, 2023
1 parent 9483804 commit 2467b09
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/DoctrineMongoDBBundle.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
use Symfony\Component\HttpKernel\Bundle\Bundle;

use function assert;
use function dirname;
use function spl_autoload_register;
use function spl_autoload_unregister;

Expand Down Expand Up @@ -59,6 +60,11 @@ public function getContainerExtension(): ?ExtensionInterface
return new DoctrineMongoDBExtension();
}

public function getPath(): string
{
return dirname(__DIR__);
}

public function boot(): void
{
$registry = $this->container->get('doctrine_mongodb');
Expand Down

0 comments on commit 2467b09

Please sign in to comment.