Skip to content

Commit

Permalink
Override Bundle::getPath()
Browse files Browse the repository at this point in the history
This is required when the bundle class is not at the root path of the
bundle, which is the case since doctrine#1767
  • Loading branch information
greg0ire committed Mar 15, 2024
1 parent fa3e8e3 commit f33afd2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/DoctrineBundle.php
Original file line number Diff line number Diff line change
Expand Up @@ -168,4 +168,9 @@ public function shutdown()
public function registerCommands(Application $application)
{
}

public function getPath(): string
{
return __DIR__ . '/..';
}
}

0 comments on commit f33afd2

Please sign in to comment.