Skip to content

Commit

Permalink
Merge pull request #477 from stof/fix_path
Browse files Browse the repository at this point in the history
Fix the bundle path to support the new bundle structure
  • Loading branch information
stof authored Apr 15, 2024
2 parents b86eae9 + 2bded34 commit d93f929
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/KnpMenuBundle.php
Original file line number Diff line number Diff line change
Expand Up @@ -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__);
}
}

0 comments on commit d93f929

Please sign in to comment.