Skip to content

Commit 2467b09

Browse files
authored
Fix bundle path for profiler templates (#833)
1 parent 9483804 commit 2467b09

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/DoctrineMongoDBBundle.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
use Symfony\Component\HttpKernel\Bundle\Bundle;
2222

2323
use function assert;
24+
use function dirname;
2425
use function spl_autoload_register;
2526
use function spl_autoload_unregister;
2627

@@ -59,6 +60,11 @@ public function getContainerExtension(): ?ExtensionInterface
5960
return new DoctrineMongoDBExtension();
6061
}
6162

63+
public function getPath(): string
64+
{
65+
return dirname(__DIR__);
66+
}
67+
6268
public function boot(): void
6369
{
6470
$registry = $this->container->get('doctrine_mongodb');

0 commit comments

Comments
 (0)