Skip to content

Commit d93f929

Browse files
authored
Merge pull request #477 from stof/fix_path
Fix the bundle path to support the new bundle structure
2 parents b86eae9 + 2bded34 commit d93f929

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/KnpMenuBundle.php

+5
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,9 @@ public function build(ContainerBuilder $container): void
2424
$container->addCompilerPass(new AddRenderersPass());
2525
$container->addCompilerPass(new AddVotersPass());
2626
}
27+
28+
public function getPath(): string
29+
{
30+
return \dirname(__DIR__);
31+
}
2732
}

0 commit comments

Comments
 (0)