Skip to content

Commit

Permalink
Merge pull request #1770 from greg0ire/getPath-thingy
Browse files Browse the repository at this point in the history
Override Bundle::getPath()
  • Loading branch information
greg0ire committed Mar 15, 2024
2 parents fa3e8e3 + d1701ce commit c8f38eb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/DoctrineBundle.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
use function assert;
use function class_exists;
use function clearstatcache;
use function dirname;
use function spl_autoload_unregister;

/** @final since 2.9 */
Expand Down Expand Up @@ -168,4 +169,9 @@ public function shutdown()
public function registerCommands(Application $application)
{
}

public function getPath(): string
{
return dirname(__DIR__);
}
}

0 comments on commit c8f38eb

Please sign in to comment.