diff --git a/src/KnpMenuBundle.php b/src/KnpMenuBundle.php index 46f3b1a..2c6fd61 100644 --- a/src/KnpMenuBundle.php +++ b/src/KnpMenuBundle.php @@ -24,4 +24,9 @@ public function build(ContainerBuilder $container): void $container->addCompilerPass(new AddRenderersPass()); $container->addCompilerPass(new AddVotersPass()); } + + public function getPath(): string + { + return \dirname(__DIR__); + } }